fix spawn call, customFds ain't supported yet

This commit is contained in:
Fedor Indutny authored and Ryan Dahl committed 2011-09-16 17:53:19 -07:00
1 parent cde81a6675
commit d6088b2667
1 file changed
+1 -1
+1 -1
View File
@@ -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));