fix spawn call, customFds ain't supported yet
authorFedor Indutny <fedor.indutny@gmail.com>
Sat, 17 Sep 2011 00:47:35 +0000 (07:47 +0700)
committerRyan Dahl <ry@tinyclouds.org>
Sat, 17 Sep 2011 00:53:19 +0000 (17:53 -0700)
lib/_debugger.js

index 0126310..4b3ae80 100644 (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));