消息 [346948]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2019-07-01 00:09:59 | gregory.p.smith | 修改 | recipients:
+ gregory.p.smith, martin.panter, xtreak, haizaar |
| 2019-07-01 00:09:59 | gregory.p.smith | 修改 | messageid: <1561939799.97.0.973764983348.issue37424@roundup.psfhosted.org> |
| 2019-07-01 00:09:59 | gregory.p.smith | 链接 | issue37424 messages |
| 2019-07-01 00:09:59 | gregory.p.smith | 创建 | |
|