bpo-32795: Subprocess setpgid#5684
Closed
fangyi-zhou wants to merge 3 commits intopython:masterfrom
fangyi-zhou:subprocess-setpgid
Closed
bpo-32795: Subprocess setpgid#5684fangyi-zhou wants to merge 3 commits intopython:masterfrom fangyi-zhou:subprocess-setpgid
fangyi-zhou wants to merge 3 commits intopython:masterfrom
fangyi-zhou:subprocess-setpgid
Conversation
Issue 32795: When a subprocess (child) spawns new subprocesses (grandchild). When child times out by a pre-set timeout, the grandchild is not killed. This effectively makes the child a zombie process and the timeout will not be respected. Fix: Child is now a process group leader. Kill signals are sent to the process group using `killpg` so the grandchild can also receive the signals.
Contributor
Author
|
I think i need some help on how to resolve the permission error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
https://bugs.python.org/issue32795
https://bugs.python.org/issue32795