docs: process.on('exit') receives exit code
authorRon Korving <rkorving@wizcorp.jp>
Wed, 6 Nov 2013 03:23:35 +0000 (12:23 +0900)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 31 Dec 2013 22:38:09 +0000 (14:38 -0800)
commit3917232030ec3b096fa08bb03b0bdc82301c0ac0
tree8a137acd0260988de189c6a2b7a871e281a69bb0
parent6f8aa24d1ee0c8502ec4c3dae3820668ae7fc435
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.
doc/api/process.markdown