diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-07-27 15:22:14 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-07-27 15:22:14 (GMT) |
commit | fff5cf67d01ad3eb039da9071275764bfd53a943 (patch) | |
tree | b9fa68d78d194b6c9f16edc9dead7d8ffc40d21a /Doc | |
parent | 3e9c60c5fe86c99cc9f9562c0b1711e6b34ee3e3 (diff) | |
download | cpython-fff5cf67d01ad3eb039da9071275764bfd53a943.zip cpython-fff5cf67d01ad3eb039da9071275764bfd53a943.tar.gz cpython-fff5cf67d01ad3eb039da9071275764bfd53a943.tar.bz2 |
clarify Popen argument
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/subprocess.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 02b8d59..5ae6eb0 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -38,9 +38,10 @@ This module defines one class called :class:`Popen`: Arguments are: - *args* should be a string, or a sequence of program arguments. The program to - execute is normally the first item in the args sequence or string, but can be - explicitly set by using the executable argument. + *args* should be a string, or a sequence of program arguments. The program + to execute is normally the first item in the args sequence or the string if a + 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 :meth:`os.execvp` to execute the child program. *args* should normally be a |