[Python-checkins] python/dist/src/Doc/lib libsubprocess.tex, 1.1, 1.2

astrand at users.sourceforge.net astrand at users.sourceforge.net
Sun Nov 7 17:38:11 CET 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30515

Modified Files:
	libsubprocess.tex 
Log Message:
Added more documentation about the executable argument.
Fixes #1056441.


Index: libsubprocess.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsubprocess.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libsubprocess.tex	17 Oct 2004 16:29:48 -0000	1.1
+++ libsubprocess.tex	7 Nov 2004 16:38:08 -0000	1.2
@@ -68,6 +68,13 @@
 use the system default, which usually means fully buffered.  The default
 value for \var{bufsize} is \constant{0} (unbuffered).
 
+The \var{executable} argument specifies the program to execute. It is
+very seldom needed: Usually, the program to execute is defined by the
+\var{args} argument. If \var{shell=True}, the \var{executable}
+argument specifies which shell to use. On \UNIX{}, the default shell
+is /bin/sh.  On Windows, the default shell is specified by the COMSPEC
+environment variable.
+
 \var{stdin}, \var{stdout} and \var{stderr} specify the executed
 programs' standard input, standard output and standard error file
 handles, respectively.  Valid values are \code{PIPE}, an existing file



More information about the Python-checkins mailing list