mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Remove debug code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user