summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-10 19:55:35 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-10 19:55:35 (GMT)
commitdebd3710b6a15323ee03b4e3a21d3ba536d7e79b (patch)
treef16b554a3eb530991cb2bfc2d51d3d181c502d3c /Doc/lib/libos.tex
parente537d6e93e0b5c37a96090df9ec831bd1bf8e2fb (diff)
downloadcpython-debd3710b6a15323ee03b4e3a21d3ba536d7e79b.zip
cpython-debd3710b6a15323ee03b4e3a21d3ba536d7e79b.tar.gz
cpython-debd3710b6a15323ee03b4e3a21d3ba536d7e79b.tar.bz2
Clarify docs about os.popen[234].
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 2d0327f..517bddc 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -354,7 +354,7 @@ Availability: Macintosh, \UNIX, Windows.
\end{funcdesc}
-For each of these \function{popen()} variants, if \var{bufsize} is
+For each of the following \function{popen()} variants, if \var{bufsize} is
specified, it specifies the buffer size for the I/O pipes.
\var{mode}, if provided, should be the string \code{'b'} or
\code{'t'}; on Windows this is needed to determine whether the file
@@ -366,7 +366,7 @@ which case arguments will be passed directly to the program without shell
intervention (as with \function{os.spawnv()}). If \var{cmd} is a string it will
be passed to the shell (as with \function{os.system()}).
-These methods do not make it possible to retrieve the return code from
+These methods do not make it possible to retrieve the exit status from
the child processes. The only way to control the input and output
streams and also retrieve the return codes is to use the
\class{Popen3} and \class{Popen4} classes from the \refmodule{popen2}