Skip to content

Instantly share code, notes, and snippets.

@aheckmann
Created November 12, 2010 15:24
Show Gist options
  • Save aheckmann/674210 to your computer and use it in GitHub Desktop.
Save aheckmann/674210 to your computer and use it in GitHub Desktop.
process.on('SIGINT', function(){
console.log('bye');
process.exit(0);
});
setTimeout(function(){}, 4000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment