diff options
Diffstat (limited to 'node_modules/spawn-command/lib')
| -rw-r--r-- | node_modules/spawn-command/lib/spawn-command.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/node_modules/spawn-command/lib/spawn-command.js b/node_modules/spawn-command/lib/spawn-command.js deleted file mode 100644 index 24d56ab..0000000 --- a/node_modules/spawn-command/lib/spawn-command.js +++ /dev/null @@ -1,17 +0,0 @@ -var util = require('util'); -var spawn = require('child_process').spawn; - -module.exports = function (command, options) { - var file, args; - if (process.platform === 'win32') { - file = 'cmd.exe'; - args = ['/s', '/c', '"' + command + '"']; - options = util._extend({}, options); - options.windowsVerbatimArguments = true; - } - else { - file = '/bin/sh'; - args = ['-c', command]; - } - return spawn(file, args, options); -}; |
