Author gregory.p.smith
Recipients gregory.p.smith, haizaar, martin.panter, xtreak
Date 2019-07-01.00:09:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561939799.97.0.973764983348.issue37424@roundup.psfhosted.org>
In-reply-to
Content
Issue 30154 that I've marked as a duplicate demonstrates this problem without using shell=True.  The solution I proposed handles that via the additional small timeout on the cleanup side, but still has the caveat that the grandchild processes keep running unless the caller used start_new_session=True.

See the PR.

We cannot reasonably determine when start_new_session=True should be a default behavior.  And I worry that doing it when it should not be will cause unexpected new problems with existing code.
History
Date User Action Args
2019-07-01 00:09:59gregory.p.smithsetrecipients: + gregory.p.smith, martin.panter, xtreak, haizaar
2019-07-01 00:09:59gregory.p.smithsetmessageid: <1561939799.97.0.973764983348.issue37424@roundup.psfhosted.org>
2019-07-01 00:09:59gregory.p.smithlinkissue37424 messages
2019-07-01 00:09:59gregory.p.smithcreate