From fff5cf67d01ad3eb039da9071275764bfd53a943 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 27 Jul 2008 15:22:14 +0000 Subject: clarify Popen argument --- Doc/library/subprocess.rst | 7 ++++--- 1 file 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 -- cgit v0.12