shinout/master-worker — Issue #1: process.stdout cannot be closed
Author: shinout
Created: 2011-11-16 12:36:03+00:00
State: open

After Node.js >=v0.6, process.stdout cannot be closed.

worker.js is trying to use process.stdout.end() to emit close event.
The close event tells the exact time to exit the worker process.
When the process is exited before the close event,
some data cannot be written to stdout.

How can I ensure that all the data from console.log() is written to stdout?