summaryrefslogtreecommitdiffstats
path: root/Doc/library/subprocess.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-15 05:34:47 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-15 05:34:47 (GMT)
commita5377cafea15518139a4c3cb80f8177265bb6180 (patch)
treea4d66ae68b9dd939caaa81e8e7aa9e4f10920849 /Doc/library/subprocess.rst
parent711f093030ab1e9d87cda56c103e5bde4c8e9c66 (diff)
parent186d5238eaa2edfa97b1a160ee218400ebe6ff47 (diff)
downloadcpython-a5377cafea15518139a4c3cb80f8177265bb6180.zip
cpython-a5377cafea15518139a4c3cb80f8177265bb6180.tar.gz
cpython-a5377cafea15518139a4c3cb80f8177265bb6180.tar.bz2
#15789: merge with 3.2.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r--Doc/library/subprocess.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 2d5f761..042f8f4 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -307,10 +307,14 @@ default values. The arguments that are most commonly needed are:
:meth:`Popen.communicate` method.
If *shell* is ``True``, the specified command will be executed through
- the shell. This can be useful if you are using Python primarily for the
+ the shell. This can be useful if you are using Python primarily for the
enhanced control flow it offers over most system shells and still want
- access to other shell features such as filename wildcards, shell pipes and
- environment variable expansion.
+ convenient access to other shell features such as shell pipes, filename
+ wildcards, environment variable expansion, and expansion of ``~`` to a
+ user's home directory. However, note that Python itself offers
+ implementations of many shell-like features (in particular, :mod:`glob`,
+ :mod:`fnmatch`, :func:`os.walk`, :func:`os.path.expandvars`,
+ :func:`os.path.expanduser`, and :mod:`shutil`).
.. versionchanged:: 3.3
When *universal_newlines* is ``True``, the class uses the encoding