From 0b56ce0bc49a8ac5536d5e06cf30f20b39631c13 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 21 Mar 2010 09:28:16 +0000 Subject: [PATCH] Clarify that for shell=True, the shell PID will be the child PID. --- Doc/library/subprocess.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 9f4b90448d6..b557bcd4c93 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