Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e2bef commit c2415ebCopy full SHA for c2415eb
1 file changed
Doc/library/subprocess.rst
@@ -341,6 +341,10 @@ default values. The arguments that are most commonly needed are:
341
from this vulnerability; see the Note in the :class:`Popen` constructor
342
documentation for helpful hints in getting ``shell=False`` to work.
343
344
+ When using ``shell=True``, :func:`shlex.quote` can be used to properly
345
+ escape whitespace and shell metacharacters in strings that are going to
346
+ be used to construct shell commands.
347
+
348
These options, along with all of the other options, are described in more
349
detail in the :class:`Popen` constructor documentation.
350
0 commit comments