diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-07-27 15:22:14 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-07-27 15:22:14 +0000 |
commit | 964cef63dcd7fc7c9a3bb9bdd39b4b2b8828d79b (patch) | |
tree | e8487779fef75b6b6493b2080448e9fb705742fa /Doc | |
parent | dfd8e93e396b53a995f36b285ca84aaef21e3228 (diff) | |
download | cpython-964cef63dcd7fc7c9a3bb9bdd39b4b2b8828d79b.tar.gz |
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 02b8d59f66..5ae6eb03f0 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 |