[ 源代码: node-exit ]
软件包:node-exit(0.1.2-1)
replacement for process.exit that ensures stdio is fully drained
To make a long story short, if process.exit is called on Windows, script output is often truncated when pipe-redirecting stdout or stderr. This module attempts to work around this issue by waiting until those streams have been completely drained before actually calling process.exit.
See Node.js issue #3584 for further reference.
Node.js is an event-based server-side JavaScript engine.