cowboy/grunt — pull request #382 by dcherman (2012-08-25 05:19:23+00:00)
Title: Ensure that stdout/stderr is properly flushed before exiting

In Windows, node currently does not properly flush the stderr/stdout streams before exiting when process.exit() is called. To work around that, we can ensure that those streams have been fully flushed prior to calling process.exit.

Related to one of the issues being discussed in https://github.com/cowboy/grunt/issues/377