]> granicus.if.org Git - python/commitdiff
Clarify that for shell=True, the shell PID will be the child PID.
authorGeorg Brandl <georg@python.org>
Sun, 21 Mar 2010 09:28:16 +0000 (09:28 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 21 Mar 2010 09:28:16 +0000 (09:28 +0000)
Doc/library/subprocess.rst

index 9f4b90448d6c69fa7d0e976d3462879853529b4c..b557bcd4c93677d601ffe0ca25653c6022d0208a 100644 (file)
@@ -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