This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Martin Ritter, martin.panter
Date 2017-11-04.00:44:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509756259.63.0.213398074469.issue31935@psf.upfronthosting.co.za>
In-reply-to
Content
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 (?)
History
Date User Action Args
2017-11-04 00:44:19martin.pantersetrecipients: + martin.panter, Martin Ritter
2017-11-04 00:44:19martin.pantersetmessageid: <1509756259.63.0.213398074469.issue31935@psf.upfronthosting.co.za>
2017-11-04 00:44:19martin.panterlinkissue31935 messages
2017-11-04 00:44:19martin.pantercreate