Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20008/Doc/lib Modified Files: libsubprocess.tex Log Message: Corrected example for replacing shell pipeline. Fixes bug 1073790. Index: libsubprocess.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsubprocess.tex,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- libsubprocess.tex 7 Nov 2004 16:38:08 -0000 1.2 +++ libsubprocess.tex 30 Nov 2004 18:06:41 -0000 1.3 @@ -239,7 +239,7 @@ output=`dmesg | grep hda` ==> p1 = Popen(["dmesg"], stdout=PIPE) -p2 = Popen(["grep", "hda"], stdin=p1.stdout) +p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE) output = p2.communicate()[0] \end{verbatim}
participants (1)
-
astrandï¼ users.sourceforge.net