-
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 work properly in Windows #40
Comments
wtf xdddd its basically the same code |
get the same problems, the java process somehow respawns as a standalone process. // some thing |
I spawn a python Process in my Electron App. On the python process runs a Flask server. In my Electron App I spawn the Python process with
I later kill the process with
I can see in the
Process Explorer
from Microsoft that the tree also gets killed,but after a milisecond, the python process somehow respawns as a standalone process.If I kill the exact same process tree in the
Process Explorer
from Windows, then the tree gets killed and there is no crazy respawn of the python process. I don't know why its respawning with thetree-kill
module. Any Ideas?UPDATE
I use now the module
tree-kill-promise
. https://www.npmjs.com/package/tree-kill-promise This worked for me.The text was updated successfully, but these errors were encountered: