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.

classification
Title: subprocess example missing "stdout=PIPE"
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: astrand, mdavidoff
Priority: normal Keywords:

Created on 2005-02-13 00:27 by mdavidoff, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg24293 - (view) Author: Monte Davidoff (mdavidoff) Date: 2005-02-13 00:27
In the Python Library Reference, section 6.8.3.2, the
Popen for p2 is missing "stdout=PIPE". Correct line is:

p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE)

This typo also occurs in subprocess.py line 232. The
executable example on line 1118 is correct.

Python 2.4, Red Hat Linux 9.
msg24294 - (view) Author: Peter Åstrand (astrand) * (Python committer) Date: 2005-03-03 21:26
Logged In: YES 
user_id=344921

Duplicate of 1073790. Already fixed in CVS. 
History
Date User Action Args
2022-04-11 14:56:09adminsetgithub: 41572
2005-02-13 00:27:51mdavidoffcreate