Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c166a commit 80b3e32Copy full SHA for 80b3e32
1 file changed
Lib/subprocess.py
@@ -509,7 +509,8 @@ def run(*popenargs,
509
510
The returned instance will have attributes args, returncode, stdout and
511
stderr. By default, stdout and stderr are not captured, and those attributes
512
- will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
+ will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
513
+ or pass capture_output=True to capture both.
514
515
If check is True and the exit code was non-zero, it raises a
516
CalledProcessError. The CalledProcessError object will have the return code
0 commit comments