node/test/fixtures/child-process-message-and-exit.js
Bert Belder b0d2795fe9 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.
2012-08-30 16:13:27 +02:00

4 lines
41 B
JavaScript

process.send('hello');
process.exit(0);