kill-process-group
v1.0.11
Published
It kills a process group. No dependencies. Windows support.
Downloads
4,250
Maintainers
Readme
kill-process-group
It kills a process group. No dependencies. Windows support.
Install
$ npm install kill-process-group --save
Usage
const killProcessGroup = require('kill-process-group')
const $ = require('tinyspawn')
const proc = $(`node ${scripts.parent}`, {
detached: process.platform !== 'win32',
stdio: 'inherit'
})
await killProcessGroup(proc)
License
kill-process-group © Kiko Beats, released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats