@@ -22,8 +22,8 @@ Create a subprocess: high-level API using Process
2222
2323.. function :: create_subprocess_shell(cmd, stdin=None, stdout=None, stderr=None, loop=None, limit=None, \*\*kwds)
2424
25- Run the shell command *cmd * given as a string. Return a :class: ` ~asyncio.subprocess.Process `
26- instance.
25+ Run the shell command *cmd *. See :meth: ` BaseEventLoop.subprocess_shell ` for
26+ parameters. Return a :class: ` ~asyncio.subprocess.Process ` instance.
2727
2828 The optional *limit * parameter sets the buffer limit passed to the
2929 :class: `StreamReader `.
@@ -32,7 +32,8 @@ Create a subprocess: high-level API using Process
3232
3333.. function :: create_subprocess_exec(\*args, stdin=None, stdout=None, stderr=None, loop=None, limit=None, \*\*kwds)
3434
35- Create a subprocess. Return a :class: `~asyncio.subprocess.Process ` instance.
35+ Create a subprocess. See :meth: `BaseEventLoop.subprocess_exec ` for
36+ parameters. Return a :class: `~asyncio.subprocess.Process ` instance.
3637
3738 The optional *limit * parameter sets the buffer limit passed to the
3839 :class: `StreamReader `.
@@ -50,7 +51,9 @@ Run subprocesses asynchronously using the :mod:`subprocess` module.
5051
5152.. method :: BaseEventLoop.subprocess_exec(protocol_factory, \*args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, \*\*kwargs)
5253
53- Create a subprocess from one or more string arguments, where the first string
54+ Create a subprocess from one or more string arguments (character strings or
55+ bytes strings encoded to the :ref: `filesystem encoding
56+ <filesystem-encoding>`), where the first string
5457 specifies the program to execute, and the remaining strings specify the
5558 program's arguments. (Thus, together the string arguments form the
5659 ``sys.argv `` value of the program, assuming it is a Python script.) This is
@@ -94,8 +97,9 @@ Run subprocesses asynchronously using the :mod:`subprocess` module.
9497
9598.. method :: BaseEventLoop.subprocess_shell(protocol_factory, cmd, \*, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, \*\*kwargs)
9699
97- Create a subprocess from *cmd *, which is a string using the platform's
98- "shell" syntax. This is similar to the standard library
100+ Create a subprocess from *cmd *, which is a character string or a bytes
101+ string encoded to the :ref: `filesystem encoding <filesystem-encoding >`,
102+ using the platform's "shell" syntax. This is similar to the standard library
99103 :class: `subprocess.Popen ` class called with ``shell=True ``.
100104
101105 See :meth: `~BaseEventLoop.subprocess_exec ` for more details about
0 commit comments