diff options
author | Fred Drake <fdrake@acm.org> | 2002-06-18 20:30:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-06-18 20:30:37 (GMT) |
commit | 9ea01d415f9e5ab69265112b5ca3fbec5d49decd (patch) | |
tree | e681186bf4d4fbb96cd27da64437fa484cd8ee1d /Doc/lib/libos.tex | |
parent | a23b5739bb8edcb3d7a124ba258fd90b73206d31 (diff) | |
download | cpython-9ea01d415f9e5ab69265112b5ca3fbec5d49decd.zip cpython-9ea01d415f9e5ab69265112b5ca3fbec5d49decd.tar.gz cpython-9ea01d415f9e5ab69265112b5ca3fbec5d49decd.tar.bz2 |
Add description of the deadlock problem with child processes and pipes, and
hints about how to work around it.
Closes SF bug #530637.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r-- | Doc/lib/libos.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index f234e13..33c1e54 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -339,6 +339,11 @@ 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. +For a discussion of possible dead lock conditions related to the use +of these functions, see ``\ulink{Flow Control +Issues}{popen2-flow-control.html}'' +(section~\ref{popen2-flow-control}). + \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})}. |