From: Benjamin Peterson Date: Sun, 27 Jul 2008 15:22:14 +0000 (+0000) Subject: clarify Popen argument X-Git-Tag: v2.6b3~213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fff5cf67d01ad3eb039da9071275764bfd53a943;p=thirdparty%2FPython%2Fcpython.git clarify Popen argument --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 02b8d59f663c..5ae6eb03f01f 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