Merge pull request #3661 from dtaniwaki/fix-deprecated-option

Use stdio option instead of customFds
This commit is contained in:
Jeremy Ashkenas
2015-03-06 09:58:33 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -591,7 +591,7 @@
p = spawn(process.execPath, nodeArgs.concat(args), {
cwd: process.cwd(),
env: process.env,
customFds: [0, 1, 2]
stdio: [0, 1, 2]
});
return p.on('exit', function(code) {
return process.exit(code);

View File

@@ -441,7 +441,7 @@ forkNode = ->
p = spawn process.execPath, nodeArgs.concat(args),
cwd: process.cwd()
env: process.env
customFds: [0, 1, 2]
stdio: [0, 1, 2]
p.on 'exit', (code) -> process.exit code
# Print the `--help` usage message and exit. Deprecated switches are not