Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
847487db
Commit
847487db
authored
Nov 07, 2004
by
Peter Astrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more documentation about the executable argument.
Fixes #1056441.
parent
bd09803d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Doc/lib/libsubprocess.tex
Doc/lib/libsubprocess.tex
+7
-0
No files found.
Doc/lib/libsubprocess.tex
View file @
847487db
...
@@ -68,6 +68,13 @@ buffer of (approximately) that size. A negative \var{bufsize} means to
...
@@ -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
use the system default, which usually means fully buffered. The default
value for
\var
{
bufsize
}
is
\constant
{
0
}
(unbuffered).
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
\var
{
stdin
}
,
\var
{
stdout
}
and
\var
{
stderr
}
specify the executed
programs' standard input, standard output and standard error file
programs' standard input, standard output and standard error file
handles, respectively. Valid values are
\code
{
PIPE
}
, an existing file
handles, respectively. Valid values are
\code
{
PIPE
}
, an existing file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment