Skip to content
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

Use taskkill instead of .kill() on Windows #11

Closed
wants to merge 2 commits into from

Conversation

efokschaner
Copy link
Contributor

@efokschaner efokschaner commented May 19, 2019

This fixes #10
I've tested on my own windows machine and it has the intended behaviour of killing the tree of processes spawned indirectly through the CMD.

Sync removes a race between the taskkill and the cmd.exe exiting anyway.
spawn is preferable to exec otherwise we're adding more cmd's in to the mix, which just seems unnecessary.
@arjunmehta
Copy link
Owner

@efokschaner Looks good. Appreciate the contribution. Thanks!

@efokschaner
Copy link
Contributor Author

Superseded by #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Process trees left running upon exiting multiview
2 participants