Skip to content

bpo-32795: Subprocess setpgid#5684

Closed
fangyi-zhou wants to merge 3 commits intopython:masterfrom
fangyi-zhou:subprocess-setpgid
Closed

bpo-32795: Subprocess setpgid#5684
fangyi-zhou wants to merge 3 commits intopython:masterfrom
fangyi-zhou:subprocess-setpgid

Conversation

@fangyi-zhou
Copy link
Contributor

@fangyi-zhou fangyi-zhou commented Feb 14, 2018

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.
@fangyi-zhou
Copy link
Contributor Author

I think i need some help on how to resolve the permission error

@fangyi-zhou fangyi-zhou deleted the subprocess-setpgid branch May 15, 2018 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants