Message264212
Setting stdin=PIPE and then calling communicate(b"") should close the child's stdin immediately, similar to stdin=DEVNULL. Instead, communicate() treats b"" like None and leaves the child's stdin open, which makes the child hang forever if it tries to read anything.
I have a PR open with a fix and a test: https://github.com/python/cpython/pull/33 |
|
Date |
User |
Action |
Args |
2016-04-26 04:40:34 | oconnor663 | set | recipients:
+ oconnor663, gvanrossum, vstinner, yselivanov |
2016-04-26 04:40:34 | oconnor663 | set | messageid: <1461645634.01.0.295749785908.issue26848@psf.upfronthosting.co.za> |
2016-04-26 04:40:33 | oconnor663 | link | issue26848 messages |
2016-04-26 04:40:33 | oconnor663 | create | |
|