Message305529
This proposal sounds like a race condition. Closing the output pipe as a child exits means you risk missing recent output. On the other hand, if you don’t care about the output any more, close the pipe first and then wait for the child.
Related discussions:
Issue 30154: Similar problem, but the grandchild does not write any output
Issue 26534: kill_group=True option for timeout
Issue 31447: Windows-specific (?) |
|
Date |
User |
Action |
Args |
2017-11-04 00:44:19 | martin.panter | set | recipients:
+ martin.panter, Martin Ritter |
2017-11-04 00:44:19 | martin.panter | set | messageid: <1509756259.63.0.213398074469.issue31935@psf.upfronthosting.co.za> |
2017-11-04 00:44:19 | martin.panter | link | issue31935 messages |
2017-11-04 00:44:19 | martin.panter | create | |
|