kill-on-exit
v1.2.0
Published
Ensure child processes are closed when the parent closes
Downloads
1,109
Readme
kill-on-exit
Makes sure child processes are cleaned up (killed) when the parent process exits.
Install
npm install kill-on-exit --saveUse
var spawn = require("child_process").spawn;
var killOnExit = require("kill-on-exit");
var child = spawn("long-process");
killOnExit(child);License
BSD 2 Clause
