Skip to content

Commit 2882520

Browse files
committed
Updating README.
1 parent fab568b commit 2882520

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
A replacement for process.exit that ensures stdio are fully drained before exiting.
44

5+
If you're familiar with the seemingly never-ending saga in joyent/node#3584, you already know that Node.js behaves differently on Windows when pipe-redirecting `stdout` or `stderr` vs just displaying output in the shell. Well, this module attempts to work around the issue by waiting until those streams have been completely drained before actually calling `process.exit`.
6+
7+
Based on some code by @vladikoff.
8+
59
## Getting Started
610
Install the module with: `npm install exit`
711

0 commit comments

Comments
 (0)