Remove debug code

pull/23362/head
Ryan Dahl 2011-08-01 10:28:32 -07:00
parent b30ad11b59
commit 9166f85285
1 changed files with 0 additions and 5 deletions

View File

@ -191,7 +191,6 @@ var spawn = exports.spawn = function(file, args, options) {
function maybeExit(subprocess) {
console.log("maybeExit");
subprocess._closesGot++;
if (subprocess._closesGot == subprocess._closesNeeded) {
@ -214,8 +213,6 @@ function ChildProcess() {
if (signalCode) self.signalCode = signalCode;
self.exitCode = exitCode;
console.error("onexit ", exitCode, signalCode);
if (self.stdin) {
self.stdin.destroy();
}
@ -273,8 +270,6 @@ ChildProcess.prototype.spawn = function(options) {
this.pid = this._internal.pid;
console.log("started pid ", this.pid);
if (options.stdinStream) {
this.stdin = createSocket(options.stdinStream, false);
}