这一切都正确吗?
var sigintCount = 0;
process.on('SIGINT', () => {
console.log('Got your SIGINT => Press Control-C *twice* to exit.');
sigintCount++;
if(sigintCount > 1){
process.exit(); //what is an appropriate exit code?
}
});
我应该使用什么退出代码?