Extends:
Context:
The reason this is problematic is because writes to process.stdout in Node.js are sometimes asynchronous and may occur over multiple ticks of the Node.js event loop. Calling process.exit(), however, forces the process to exit before those additional writes to stdout can be performed.
I'm not sure if this is applicable to every situation, but perhaps process.exit(1)
should be the exception, not the rule.
process.exit(1);
process.exit(); // No code, the intent is a bit more clear
process.exitcode = 1;
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too