diff -r 820032281f49 Doc/library/subprocess.rst --- a/Doc/library/subprocess.rst Sat Sep 15 08:33:12 2012 +0300 +++ b/Doc/library/subprocess.rst Sat Sep 15 12:52:12 2012 -0700 @@ -256,6 +256,10 @@ from this vulnerability; see the Note in the :class:`Popen` constructor documentation for helpful hints in getting ``shell=False`` to work. + When using ``shell=True``, :func:`pipes.quote` can be used to properly + escape whitespace and shell metacharacters in strings that are going to + be used to construct shell commands. + These options, along with all of the other options, are described in more detail in the :class:`Popen` constructor documentation.