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 petegibson
Recipients petegibson
Date 2009-10-30.05:15:46
SpamBayes Score 5.1175175e-12
Marked as misclassified No
Message-id <1256879749.75.0.623795302461.issue7240@psf.upfronthosting.co.za>
In-reply-to
Content
subprocess.Popen.stdout.flush() fails on OS-X 10.6.1 under the bundled
Python 2.6.1 and 2.6.3 from Macports.

>>> from subprocess import Popen, PIPE
>>> p = Popen('cat', stdin=PIPE, stdout=PIPE)
>>> p.stdout.flush()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IOError: [Errno 9] Bad file descriptor

However it works on Python 2.6.2 on Linux.
History
Date User Action Args
2009-10-30 05:15:49petegibsonsetrecipients: + petegibson
2009-10-30 05:15:49petegibsonsetmessageid: <1256879749.75.0.623795302461.issue7240@psf.upfronthosting.co.za>
2009-10-30 05:15:47petegibsonlinkissue7240 messages
2009-10-30 05:15:47petegibsoncreate