tree-kill-sync
Synchronous version of tree-kill
Supported platforms: Linux, Darwin/OSX.
Install
$ npm i tree-kill-sync
API
treeKillSync(pid, [signal])
Sends signal signal
to all children processes of the process with pid pid
, including pid. Signal defaults to SIGTERM.