mirror of https://github.com/nodejs/node.git
Remove debug code
parent
b30ad11b59
commit
9166f85285
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue