apache/cordova-cli — pull request #70 by jsoref (2013-11-07 06:41:30+00:00)
Title: [CB-5258] use exit library

On Windows, if you have pending bits in pipes and you exit, they
generally do not get delivered.

To avoid this, you need to change process.exit() to something
which actually ensures that buffers are flushed before it exits,
this is handled by the 'exit' module/function.