summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 16f3690..1c3a584 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -315,6 +315,12 @@ specified, it specifies the buffer size for the I/O pipes.
objects should be opened in binary or text mode. The default value
for \var{mode} is \code{'t'}.
+These methods do not make it possible to retrieve the return code 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}
+module; these are only available on \UNIX.
+
\begin{funcdesc}{popen2}{cmd\optional{, mode\optional{, bufsize}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout})}.