8000 bpo-30420: Document the cwd argument to check_output and check_call by alex · Pull Request #1685 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-30420: Document the cwd argument to check_output and check_call #1685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2017
Merged
Changes from 1 commit
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
Prev Previous commit
Also add this to call and run
  • Loading branch information
alex authored May 25, 2017
commit 04d39f9774985106a54c1484eaeb9823b5f95695
4 changes: 2 additions & 2 deletions Doc/library/subprocess.rst
80D1
Original file line numberDiff 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 @@ -855,7 +855,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 Down
0