mirror of
https://github.com/python/cpython.git
synced 2025-09-22 00:12:56 +00:00
closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403)
This commit is contained in:
parent
f7b1e46156
commit
4a0ac42c52
1 changed files with 7 additions and 7 deletions
|
@ -95,14 +95,14 @@ Creating Subprocesses
|
|||
See the documentation of :meth:`loop.subprocess_shell` for other
|
||||
parameters.
|
||||
|
||||
.. important::
|
||||
.. important::
|
||||
|
||||
It is the application's responsibility to ensure that all whitespace and
|
||||
special characters are quoted appropriately to avoid `shell injection
|
||||
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
|
||||
vulnerabilities. The :func:`shlex.quote` function can be used to properly
|
||||
escape whitespace and special shell characters in strings that are going
|
||||
to be used to construct shell commands.
|
||||
It is the application's responsibility to ensure that all whitespace and
|
||||
special characters are quoted appropriately to avoid `shell injection
|
||||
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
|
||||
vulnerabilities. The :func:`shlex.quote` function can be used to properly
|
||||
escape whitespace and special shell characters in strings that are going
|
||||
to be used to construct shell commands.
|
||||
|
||||
.. deprecated-removed:: 3.8 3.10
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue