2010-04-25 04:27:11 +08:00
|
|
|
function tmp() {}
|
2011-10-15 07:08:36 +08:00
|
|
|
process.on('SIGINT', tmp);
|
2010-12-03 09:03:18 +08:00
|
|
|
process.removeListener('SIGINT', tmp);
|
|
|
|
setInterval(function() {
|
2010-04-25 04:27:11 +08:00
|
|
|
process.stdout.write('keep alive\n');
|
|
|
|
}, 1000);
|