From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 9 Aug 2018 22:03:52 +0000 (-0700) Subject: Doc: add missing capture_output arg to subprocess.run() signature (GH-8374) X-Git-Tag: v3.7.1rc1~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56410810d325973927068a8f5b18378f37da7e1b;p=thirdparty%2FPython%2Fcpython.git Doc: add missing capture_output arg to subprocess.run() signature (GH-8374) (cherry picked from commit 22d131a7f9e4e64486da1d1cddbfed2379517791) Co-authored-by: Andriy Maletsky <9919211+and800@users.noreply.github.com> --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 58439864f37a..19f6ff38bb2b 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -38,8 +38,8 @@ compatibility with older versions, see the :ref:`call-function-trio` section. .. function:: run(args, *, stdin=None, input=None, stdout=None, stderr=None,\ - shell=False, cwd=None, timeout=None, check=False, \ - encoding=None, errors=None, text=None, env=None) + capture_output=False, shell=False, cwd=None, timeout=None, \ + check=False, encoding=None, errors=None, text=None, env=None) Run the command described by *args*. Wait for command to complete, then return a :class:`CompletedProcess` instance.