tree-kill
Tree Kill
Examples
var kill = require('tree-kill');
kill(1);var kill = require('tree-kill');
kill(1, 'SIGKILL');var kill = require('tree-kill');
kill(1, 'SIGKILL', function(err) {
// Do things
});tree-kill 1 # sends SIGTERM to process 1 and its descendents
tree-kill 1 SIGTERM # same
tree-kill 1 SIGKILL # sends KILL instead of TERMINATEMethods
require('tree-kill')(pid, [signal], [callback]);
Install
License
Changelog
[1.2.2] - 2019-12-11
Changed
[1.2.1] - 2018-11-05
Changed
[1.2.0] - 2017-09-19
Added
Changed
[1.1.0] - 2016-05-13
Added
[1.0.0] - 2015-09-17
Added
Last updated