installs custom cleanup handlers that run on exiting node
jtlappover 1 year agoKeep the node process alive until SIGINT (ctrl+c) is received
nishanthsover 2 years agoRun arbitrary functions & commands asynchronously before process termination, programatically or via CLI
rafamelover 2 years agoGenerate ctrl-c (or ctrl-break) events on Windows by calling Kernel32::GenerateConsoleCtrlEvent()