summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-21 09:28:16 (GMT)
committerGeorg Brandl <georg@python.org>2010-03-21 09:28:16 (GMT)
commit0b56ce0bc49a8ac5536d5e06cf30f20b39631c13 (patch)
tree1ab553586ecfbed8312368914ad0b6a8b2264f5a /Doc/library
parent0fcd8821014f023936f0c331258a1ea6eed7bcf2 (diff)
downloadcpython-0b56ce0bc49a8ac5536d5e06cf30f20b39631c13.zip
cpython-0b56ce0bc49a8ac5536d5e06cf30f20b39631c13.tar.gz
cpython-0b56ce0bc49a8ac5536d5e06cf30f20b39631c13.tar.bz2
Clarify that for shell=True, the shell PID will be the child PID.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/subprocess.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 9f4b904..b557bcd 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