diff options
author | Peter Astrand <astrand@lysator.liu.se> | 2004-11-07 16:38:08 (GMT) |
---|---|---|
committer | Peter Astrand <astrand@lysator.liu.se> | 2004-11-07 16:38:08 (GMT) |
commit | 3546188123b84bf48c3b83605fec7efdeebf3ace (patch) | |
tree | f6272d77940a3d4126c74dd9b7f6e5b564e5ecb3 /Doc | |
parent | def9d2a17c6f34750f321e88286a08731fdb8b94 (diff) | |
download | cpython-3546188123b84bf48c3b83605fec7efdeebf3ace.zip cpython-3546188123b84bf48c3b83605fec7efdeebf3ace.tar.gz cpython-3546188123b84bf48c3b83605fec7efdeebf3ace.tar.bz2 |
Added more documentation about the executable argument.
Fixes #1056441.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libsubprocess.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libsubprocess.tex b/Doc/lib/libsubprocess.tex index 14e68aa..01f64ae 100644 --- a/Doc/lib/libsubprocess.tex +++ b/Doc/lib/libsubprocess.tex @@ -68,6 +68,13 @@ buffer of (approximately) that size. A negative \var{bufsize} means to 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 |