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 jdc
Recipients
Date 2004-11-26.15:14:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This example from subprocess.py:

Replacing shell pipe line
-------------------------
output=`dmesg | grep hda`
==>
p1 = Popen(["dmesg"], stdout=PIPE)
p2 = Popen(["grep", "hda"], stdin=p1.stdout)
output = p2.communicate()[0]

needs to have stdout=PIPE added to the second Popen call.  The same error occurs in PEP 324.

Dan
History
Date User Action Args
2007-08-23 14:27:49adminlinkissue1073790 messages
2007-08-23 14:27:49admincreate