kill-on-exit

1.2.0 • Public • Published

kill-on-exit

Makes sure child processes are cleaned up (killed) when the parent process exits.

Install

npm install kill-on-exit --save

Use

var spawn = require("child_process").spawn;
var killOnExit = require("kill-on-exit");
 
var child = spawn("long-process");
killOnExit(child);

License

BSD 2 Clause

Readme

Keywords

Package Sidebar

Install

npm i kill-on-exit

Weekly Downloads

164

Version

1.2.0

License

BSD-2-Clause

Last publish

Collaborators

  • matthewp