docs: process.on('exit') receives exit code
The fact that the "exit" event passes the exit code as an argument as omitted from the documentation. This adds the explanation and augments the example code to show that.
parent
6f8aa24d
Please register or sign in to comment