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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, dwalczak
Date 2009-07-13.08:28:54
SpamBayes Score 1.8262126e-07
Marked as misclassified No
Message-id <1247473738.31.0.165136094949.issue6457@psf.upfronthosting.co.za>
In-reply-to
Content
Testing on Debian with latest trunk:
- the proposed example code works very well (I get all data).
- I added "subprocess._has_poll = False", and some (sometimes all) data
is lost. It seems that select() will return stdin even if it is not
writable.

On Windows of course, communicate() uses a blocking write, and always fail.

The proposed patch ignore the errors when EPIPE is raised, and simply
stops writing.
History
Date User Action Args
2009-07-13 08:28:58amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, dwalczak
2009-07-13 08:28:58amaury.forgeotdarcsetmessageid: <1247473738.31.0.165136094949.issue6457@psf.upfronthosting.co.za>
2009-07-13 08:28:56amaury.forgeotdarclinkissue6457 messages
2009-07-13 08:28:55amaury.forgeotdarccreate