coroutine asyncio.create_subprocess_shell(cmd, stdin=None, stdout=None, stderr=None, loop=None, limit=None, **kwds)
Run the shell command cmd.
The limit parameter sets the buffer limit passed to the StreamReader
. See AbstractEventLoop.subprocess_shell()
for other parameters.
Return a Process
instance.
It is the application’s responsibility to ensure that all whitespace and metacharacters are quoted appropriately to avoid shell injection vulnerabilities. The shlex.quote()
function can be used to properly escape whitespace and shell metacharacters in strings that are going to be used to construct shell commands.
This function is a coroutine.
Please login to continue.