-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-101100: Fix all Sphinx warnings in Doc/library/subprocess.rst
#139576
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
Conversation
Return ``(exitcode, output)`` of executing *cmd* in a shell. | ||
|
||
Execute the string *cmd* in a shell with :meth:`Popen.check_output` and | ||
Execute the string *cmd* in a shell with :func:`check_output` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per the source (and the fact that no such method exists):
Lines 676 to 677 in 0b21682
data = check_output(cmd, shell=True, text=True, stderr=STDOUT, | |
encoding=encoding, errors=errors) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @StanFromIreland for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @StanFromIreland for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…st` (pythonGH-139576) (cherry picked from commit 99fd525) Co-authored-by: Stan Ulbrych <[email protected]>
…st` (pythonGH-139576) (cherry picked from commit 99fd525) Co-authored-by: Stan Ulbrych <[email protected]>
GH-139787 is a backport of this pull request to the 3.14 branch. |
GH-139788 is a backport of this pull request to the 3.13 branch. |
Thanks guys! |
…rst` (GH-139576) (#139787) Co-authored-by: Stan Ulbrych <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--139576.org.readthedocs.build/