From c43f5a233a5111c09ab40a5e52474378283a9309 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 20 May 2017 14:34:30 -0700 Subject: [PATCH] Document the cwd argument to check_output and check_call --- Doc/library/subprocess.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index afa1e86c05f6af..38c2193210a27a 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -881,7 +881,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 @@ -911,7 +911,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.