Permalink
Browse files

Maybe we need to call process.parent.emit('evt', 'some data');

  • Loading branch information...
1 parent 77c18d1 commit 159ee5b309df0ea9cd12c1432810c286752a16e5 Will Wen Gunn committed Apr 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/child_process.js
View
@@ -391,6 +391,8 @@ function maybeClose(subprocess) {
function ChildProcess() {
var self = this;
+ this.parent = process;
+
this._closesNeeded = 1;
this._closesGot = 0;

0 comments on commit 159ee5b

Please sign in to comment.