1.0.8 • Published 3 years ago
@anzerr/kill.tree v1.0.8
Intro
Kill a tree of process for a given pid
Install
npm install --save git+https://git@github.com/anzerr/kill.tree.git
npm install --save @anzerr/kill.tree
Example
const kill = require('kill.tree');
kill(1, 'SIGKILL').then(({tree, pid, killed}) => {
// failed to kill tree
}).catch(() => {
// failed to kill tree
})