bpo-32102 Add "capture_output=True" option to subprocess.run by bbayles · Pull Request #5149 · python/cpython · GitHub
Skip to content

bpo-32102 Add "capture_output=True" option to subprocess.run - #5149

Merged
gpshead merged 6 commits into
python:masterfrom
bbayles:bpo-32248-subprocess_capture_output
Jan 30, 2018
Merged

bpo-32102 Add "capture_output=True" option to subprocess.run#5149
gpshead merged 6 commits into
python:masterfrom
bbayles:bpo-32248-subprocess_capture_output

Conversation

@bbayles

@bbayles bbayles commented Jan 11, 2018

Copy link
Copy Markdown
Contributor

This PR adds the capture_output parameter to subprocess.run, as described in issue 32102.

I have been pleased to see the subprocess getting easier to use over the last few releases, and was happy to see the idea for replacing subprocess.run(..., stdin=subprocess.PIPE, stdout=subprocess.PIPE) with something friendlier had already been proposed.

https://bugs.python.org/issue32102

@warsaw

warsaw commented Jan 11, 2018

Copy link
Copy Markdown
Member

@bbayles bbayles changed the title bpo-32248 Add "capture_output=True" option to subprocess.run bpo-32102 Add "capture_output=True" option to subprocess.run Jan 11, 2018
@bbayles

bbayles commented Jan 11, 2018

Copy link
Copy Markdown
Contributor Author

Whoops, you're right. Not sure how I did that. 32102 is the correct issue number.

I've fixed the description and reference. However, my branch name is still incorrect. Does that matter? If so I can close this PR and open a new one with a better branch name.

@warsaw

warsaw commented Jan 11, 2018

Copy link
Copy Markdown
Member

this keeps the old description of *text* and makes the *capture_output* mention its own sentence.
@gpshead gpshead added the type-feature A feature request or enhancement label Jan 30, 2018
@gpshead gpshead self-assigned this Jan 30, 2018
@gpshead
gpshead merged commit ce0f33d into python:master Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants