Skip to content

Commit

Permalink
Merge pull request #100 from mpareja/fix_dos_exec
Browse files Browse the repository at this point in the history
jake.exec: don't wrap DOS command in double-quotes
  • Loading branch information
mde committed Feb 19, 2012
2 parents e5cc776 + 0b956a0 commit 32383be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/utils.js
Expand Up @@ -78,8 +78,7 @@ utils = new (function () {
// Ganking part of Node's child_process.exec to get cmdline args parsed
if (process.platform == 'win32') {
cmd = 'cmd.exe';
// TODO: Escape double-quotes?
args = ['/s', '/c', '"' + next + '"'];
args = ['/s', '/c', next];
}
else {
cmd = '/bin/sh';
Expand Down

0 comments on commit 32383be

Please sign in to comment.