process: allow changing `exitCode` in `on('exit')`
authorFedor Indutny <fedor.indutny@gmail.com>
Sun, 9 Feb 2014 10:40:57 +0000 (14:40 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Sun, 9 Feb 2014 11:10:38 +0000 (15:10 +0400)
commitc0d81f90996667a658aa4403123e02161262506a
treefb12185402e79967a92567bd1ebd5d41a8248452
parent28dbc96a6cd4c995a36b38874ef9fdacb01ffa16
process: allow changing `exitCode` in `on('exit')`

fix #7081
src/node.cc
test/simple/test-process-exit-code.js