Welcome to mirror list, hosted at ThFree Co, Russian Federation.

should_exit.js « fixtures « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1a37a575c4aa6ac31b844d4476ffb64d736ad996 (plain)
1
2
3
4
5
6
function tmp() {}
process.addListener('SIGINT', tmp);
process.removeListener('SIGINT', tmp);
setInterval(function() {
  process.stdout.write('keep alive\n');
}, 1000);