mirror of https://github.com/python/cpython
clarify Popen argument
This commit is contained in:
parent
3e9c60c5fe
commit
fff5cf67d0
|
@ -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…
Reference in New Issue