Browse Source

child_process: fix order of args to errnoException()

v0.7.4-release
Thomas Shinnick 13 years ago
committed by Ben Noordhuis
parent
commit
eba1f7b1a4
  1. 2
      lib/child_process.js

2
lib/child_process.js

@ -440,7 +440,7 @@ ChildProcess.prototype.spawn = function(options) {
this._internal.close(); this._internal.close();
this._internal = null; this._internal = null;
throw errnoException('spawn', errno); throw errnoException(errno, 'spawn');
} }
this.pid = this._internal.pid; this.pid = this._internal.pid;

Loading…
Cancel
Save