pkrumins / node-tree-kill

kill trees of processes
MIT License
333 stars 37 forks source link

In Ubuntu the root process is not get killed #27

Open jayarjo opened 5 years ago

jayarjo commented 5 years ago

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 still being alive by that moment. Btw, SIGKILL signal does the job perfectly right away. Why do we even need to build up a tree and kill processes one by one?