node-tree-kill
node-tree-kill copied to clipboard
kill trees of processes
👋 Hi, we're using `tree-kill` in [Stryker](https://github.com/stryker-mutator/stryker). We occasionally see this error when running `tree-kill` on windows: ``` Command failed: taskkill /pid 14880 /T /F 'taskkill' is not recognized as...
If no `ps` program is available on Linux, this package throws a generic ENOENT error. When this library is a dependency of dependency, its not immediately clear where from exactly...
I use onchange package which crash in tree-kill. Stack trace: ``` /node_modules/tree-kill/index.js:78 ps.stdout.on('data', function (data) { ^ TypeError: Cannot read property 'on' of undefined at buildProcessTree (/***/node_modules/tree-kill/index.js:78:14) at /***/node_modules/tree-kill/index.js:99:11 at...
Currently this package recursively kill processes level by level spawning the `ps` or `pgrep` a lot of times. I've built this package that maybe can help to improve performance. https://github.com/simonepri/pidtree...
In Ubuntu the root process is not get killed. It is attempted to be killed of, but never does. I suspect it has something to do with the child processes...
`ps` on Alpine does not recognize the options `--no-headers` and `--ppid`.
Given the following program: ``` process.on('SIGTERM', () => console.error('Ignoring')); let n = 0; setInterval(()=> console.log(n++), 2*1000); ``` I have tried to kill it using treeKill via something like ``` treeKill(myPID,...
Hi, I'm using an Angular wep application launched from a git bash terminal with `ng serve`. When I want to exit the Angular web app with a Ctrl+C, the Angular...
I get that Windows doesn't handle POSIX signals like Linux, but seems like the process just gets killed so you can't do a graceful shutdown. Any way to do this?...