-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-23750: Document os-system, subprocess. Patch by Martin Panter. #26016
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
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.
Awesome! Thank you for converting the patch to a PR :). Everything looks good (with just a few minor things below).
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* The :func:`call` return value is encoded differently to that of | ||
:func:`os.system`. | ||
|
||
* The :func:`os.system` function ignores SIGINT and SIGQUIT signals while |
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.
Excellent. 👍 The bug report used the term "blocked", the correct behavior is "ignored".
Ref - https://man7.org/linux/man-pages/man3/system.3.html
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 @uniocto for the PR, and @orsenthil for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9. |
…ythonGH-26016) * Document os-system, subprocess Patch * Update Doc/library/os.rst Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 5f2eb87) Co-authored-by: uniocto <serit142sa33go@gmail.com>
GH-26040 is a backport of this pull request to the 3.10 branch. |
GH-26041 is a backport of this pull request to the 3.9 branch. |
…ythonGH-26016) * Document os-system, subprocess Patch * Update Doc/library/os.rst Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 5f2eb87) Co-authored-by: uniocto <serit142sa33go@gmail.com>
…H-26016) (GH-26040) * Document os-system, subprocess Patch * Update Doc/library/os.rst Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 5f2eb87) Co-authored-by: uniocto <serit142sa33go@gmail.com> Co-authored-by: uniocto <serit142sa33go@gmail.com>
…H-26016) (GH-26041) * Document os-system, subprocess Patch * Update Doc/library/os.rst Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 5f2eb87) Co-authored-by: uniocto <serit142sa33go@gmail.com> Co-authored-by: uniocto <serit142sa33go@gmail.com>
@uniocto congrats on your first pull request getting merged into CPython! Welcome! |
https://bugs.python.org/issue23750