better escaping for shell commands #23

Merged
merged 1 commit into from Sep 13, 2012

Projects

None yet

2 participants

@evanw

Wrapping the text in single or double quotes doesn't work when the string itself contains quotes or other special characters. This is fixed by using JSON.stringify() to handle the quoting instead.

@tj tj merged commit 5e94ab5 into tj:master Sep 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment