mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
clarify Popen argument
This commit is contained in:
parent
3e9c60c5fe
commit
fff5cf67d0
1 changed files with 4 additions and 3 deletions
|
@ -38,9 +38,10 @@ This module defines one class called :class:`Popen`:
|
||||||
|
|
||||||
Arguments are:
|
Arguments are:
|
||||||
|
|
||||||
*args* should be a string, or a sequence of program arguments. The program to
|
*args* should be a string, or a sequence of program arguments. The program
|
||||||
execute is normally the first item in the args sequence or string, but can be
|
to execute is normally the first item in the args sequence or the string if a
|
||||||
explicitly set by using the executable argument.
|
string is given, but can be explicitly set by using the *executable*
|
||||||
|
argument.
|
||||||
|
|
||||||
On Unix, with *shell=False* (default): In this case, the Popen class uses
|
On Unix, with *shell=False* (default): In this case, the Popen class uses
|
||||||
:meth:`os.execvp` to execute the child program. *args* should normally be a
|
:meth:`os.execvp` to execute the child program. *args* should normally be a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue