Configure child process to run with parent's stdin

This commit is contained in:
Max Brosnahan
2013-10-16 18:00:13 +02:00
parent 26d0482fb8
commit 02669d8bc1

View File

@@ -30,6 +30,7 @@ exports.execCmd = (command, options, callback)->
child = spawn(file, args,
cwd: options.cwd
env: options.env
stdio: [process.stdin]
windowsVerbatimArguments: !!options.windowsVerbatimArguments
)