mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
fix spawn call, customFds ain't supported yet
This commit is contained in:
1 parent
cde81a6675
commit
d6088b2667
1 file changed
+1
-1
+1
-1
@@ -1286,7 +1286,7 @@ Interface.prototype.trySpawn = function(cb) {
|
||||
|
||||
this.killChild();
|
||||
|
||||
this.child = spawn(process.execPath, args, { customFds: [0, 1, 2] });
|
||||
this.child = spawn(process.execPath, args);
|
||||
|
||||
this.child.stdout.on('data', this.childPrint.bind(this));
|
||||
this.child.stderr.on('data', this.childPrint.bind(this));
|
||||
|
||||
Reference in new issue
Block a user