Exits after draining stdout/stderr. When Node.js writes to a pipe it does so asynchronously; calling process.exit() directly can truncate pending output. Falls back to a forced exit after 1 min in case a drain callback never fires.
Exits after draining stdout/stderr. When Node.js writes to a pipe it does so asynchronously; calling process.exit() directly can truncate pending output. Falls back to a forced exit after 1 min in case a drain callback never fires.