From: Georg Brandl Date: Sun, 21 Mar 2010 09:28:16 +0000 (+0000) Subject: Clarify that for shell=True, the shell PID will be the child PID. X-Git-Tag: v2.7b1~292 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b56ce0bc49a8ac5536d5e06cf30f20b39631c13;p=thirdparty%2FPython%2Fcpython.git Clarify that for shell=True, the shell PID will be the child PID. --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 9f4b90448d6c..b557bcd4c936 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -376,6 +376,9 @@ The following attributes are also available: The process ID of the child process. + Note that if you set the *shell* argument to ``True``, this is the process ID + of the spawned shell. + .. attribute:: Popen.returncode