child process: fix processes with IPC channel don't emit 'close'
authorBert Belder <bertbelder@gmail.com>
Thu, 30 Aug 2012 14:13:27 +0000 (16:13 +0200)
committerBert Belder <bertbelder@gmail.com>
Thu, 30 Aug 2012 14:13:27 +0000 (16:13 +0200)
commitb0d2795fe9501218dd8c953252fffe2d05d59c2a
tree0dd79d375d007529b2528339a043d1e00c37c377
parent355c14842734e790a2581b9db58041c7ca54edf9
child process: fix processes with IPC channel don't emit 'close'

With this patch the IPC socket is no longer available in the
ChildProcess.stdio array. This shouldn't be very problematic, since
this socket was effectively non-functional; it would never emit any
events.
lib/child_process.js
test/fixtures/child-process-message-and-exit.js [new file with mode: 0644]
test/simple/test-child-process-fork-close.js [new file with mode: 0644]