Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Kill dangling subprocesses #632
base: rolling
Are you sure you want to change the base?
Kill dangling subprocesses #632
Changes from all commits
f86971a
d268600
b5a925f
e2b1a3c
8466b49
2356223
ac6afd3
7ffee9a
6432d76
6284c82
514c149
5b43cdc
4b796cc
58cd661
5ff2f05
b5ba458
fc97730
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this sufficient to test the feature? Is it the
shell=True
part that makes this test useful?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shell=True
will create a shell process, and that shell will create a subproceses.So the launch process will have to kill the shell subprocess, because the shell will not trap the signals and resend them to the child.
This shows that the feature works.
It's not super complete though, if you have more test case ideas I can add them.