Author neologix
Recipients Ernst.Sjöstrand, amaury.forgeotdarc, brian.curtin, erickt, giampaolo.rodola, guettli, neologix, vstinner, xuanji
Date 2011-04-26.21:09:52
SpamBayes Score 0.00447779
Marked as misclassified No
Message-id <>
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?

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:53neologixsetrecipients: + neologix, guettli, amaury.forgeotdarc, vstinner, giampaolo.rodola, erickt, brian.curtin, xuanji, Ernst.Sj√∂strand
2011-04-26 21:09:53neologixsetmessageid: <>
2011-04-26 21:09:52neologixlinkissue5115 messages
2011-04-26 21:09:52neologixcreate