[Python-checkins] CVS: python/dist/src/Doc/lib libos.tex,1.53.4.3,1.53.4.4
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 11 Jun 2001 08:22:25 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv2493/lib
Modified Files:
Tag: release21-maint
libos.tex
Log Message:
Fixed parameter order for os.popen2(), os.popen3(), and os.popen(4). Added
a reference to these functions and popen() from the "Process Management"
section.
Based on a suggestion from comp.lang.python.
Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.53.4.3
retrieving revision 1.53.4.4
diff -C2 -r1.53.4.3 -r1.53.4.4
*** libos.tex 2001/06/04 15:30:41 1.53.4.3
--- libos.tex 2001/06/11 15:22:23 1.53.4.4
***************
*** 315,319 ****
for \var{mode} is \code{'t'}.
! \begin{funcdesc}{popen2}{cmd\optional{, bufsize\optional{, mode}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout})}.
--- 315,319 ----
for \var{mode} is \code{'t'}.
! \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})}.
***************
*** 321,325 ****
\end{funcdesc}
! \begin{funcdesc}{popen3}{cmd\optional{, bufsize\optional{, mode}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout}, \var{child_stderr})}.
--- 321,325 ----
\end{funcdesc}
! \begin{funcdesc}{popen3}{cmd\optional{, mode\optional{, bufsize}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout}, \var{child_stderr})}.
***************
*** 327,331 ****
\end{funcdesc}
! \begin{funcdesc}{popen4}{cmd\optional{, bufsize\optional{, mode}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout_and_stderr})}.
--- 327,331 ----
\end{funcdesc}
! \begin{funcdesc}{popen4}{cmd\optional{, mode\optional{, bufsize}}}
Executes \var{cmd} as a sub-process. Returns the file objects
\code{(\var{child_stdin}, \var{child_stdout_and_stderr})}.
***************
*** 928,931 ****
--- 928,939 ----
Availability: \UNIX{}.
\end{funcdesc}
+
+ \begin{funcdescni}{popen}{\unspecified}
+ \funclineni{popen2}{\unspecified}
+ \funclineni{popen3}{\unspecified}
+ \funclineni{popen4}{\unspecified}
+ Run child processes, returning opened pipes for communications. These
+ functions are described in section \ref{os-newstreams}.
+ \end{funcdescni}
\begin{funcdesc}{spawnv}{mode, path, args}