Message134500
Note that the setpgid creation part is now somewhat redundant with Popen's start_new_session flag (which calls setsid). Also, this should probably be an option, since with that patch every subprocess is in its own process group.
> I was wondering... what if process A runs a subprocess B which runs a
> subprocess C. Is C still considered a children of A and gets killed as
> well?
No.
When setpgid/setsid is called, a new group is created, so process C will be not be part of the same group as B. |
|
Date |
User |
Action |
Args |
2011-04-26 21:09:53 | neologix | set | recipients:
+ neologix, guettli, amaury.forgeotdarc, vstinner, giampaolo.rodola, erickt, brian.curtin, xuanji, Ernst.Sjöstrand |
2011-04-26 21:09:53 | neologix | set | messageid: <1303852193.31.0.0822730569267.issue5115@psf.upfronthosting.co.za> |
2011-04-26 21:09:52 | neologix | link | issue5115 messages |
2011-04-26 21:09:52 | neologix | create | |
|