-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not kill child process on MacOS #28
Comments
Does the callback function gets executed? var kill = require('tree-kill');
kill(1, 'SIGKILL', function(err) {
// Do things
}); |
Same problem in mac. The default SIGTERM cause self pid can not be killed. SIGKILL will kill self pid. This is also work: kill(1, function(err) {
// Do things
setTimeout(() => {
process.kill(1)
}, 200)
}); |
Same issue here.
I do wonder if there's much point for this package to replicate the logic already in |
This was referenced Sep 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some cases I want to kill a child process spawned from node, but even if I use this package giving the process's PID number, the process lives happily and does not close. Any idea?
The text was updated successfully, but these errors were encountered: