Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Doc/library/subprocess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ compatibility with older versions, see the :ref:`call-function-trio` section.


.. function:: run(args, *, stdin=None, input=None, stdout=None, stderr=None,\
shell=False, timeout=None, check=False, \
shell=False, cwd=None, timeout=None, check=False, \
encoding=None, errors=None)

Run the command described by *args*. Wait for command to complete, then
Expand Down Expand Up @@ -856,7 +856,7 @@ Prior to Python 3.5, these three functions comprised the high level API to
subprocess. You can now use :func:`run` in many cases, but lots of existing code
calls these functions.

.. function:: call(args, *, stdin=None, stdout=None, stderr=None, shell=False, timeout=None)
.. function:: call(args, *, stdin=None, stdout=None, stderr=None, shell=False, cwd=None, timeout=None)

Run the command described by *args*. Wait for command to complete, then
return the :attr:`~Popen.returncode` attribute.
Expand All @@ -882,7 +882,7 @@ calls these functions.
.. versionchanged:: 3.3
*timeout* was added.

.. function:: check_call(args, *, stdin=None, stdout=None, stderr=None, shell=False, timeout=None)
.. function:: check_call(args, *, stdin=None, stdout=None, stderr=None, shell=False, cwd=None, timeout=None)

Run command with arguments. Wait for command to complete. If the return
code was zero then return, otherwise raise :exc:`CalledProcessError`. The
Expand Down Expand Up @@ -912,7 +912,7 @@ calls these functions.


.. function:: check_output(args, *, stdin=None, stderr=None, shell=False, \
encoding=None, errors=None, \
cwd=None, encoding=None, errors=None, \
universal_newlines=False, timeout=None)

Run command with arguments and return its output.
Expand Down