Closed h2non closed 10 years ago
Applied for run, extract and install commands
run
extract
install
//do something when app is closing process.on('exit', exitHandler.bind(null,{cleanup:true})); //catches ctrl+c event process.on('SIGINT', exitHandler.bind(null, {exit:true})); //catches uncaught exceptions process.on('uncaughtException', exitHandler.bind(null, {exit:true}));
Done!
Applied for
run
,extract
andinstall
commands