Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-110036: multiprocessing Popen.terminate() catches PermissionError#110037
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…rrorOn Windows, multiprocessing Popen.terminate() now catchsPermissionError and get the process exit code. If the process isstill running, raise again the PermissionError. Otherwise, theprocess terminated as expected: store its exit code.
dbb27f7 to0ed6e0bComparebedevere-bot commentedSep 28, 2023
vstinner commentedSep 29, 2023
It failed with: Well, that's unrelated, my code should be specific to Windows. |
miss-islington commentedSep 29, 2023
Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…Error (pythonGH-110037)On Windows, multiprocessing Popen.terminate() now catchsPermissionError and get the process exit code. If the process isstill running, raise again the PermissionError. Otherwise, theprocess terminated as expected: store its exit code.(cherry picked from commitbd4518c)Co-authored-by: Victor Stinner <vstinner@python.org>
…Error (pythonGH-110037)On Windows, multiprocessing Popen.terminate() now catchsPermissionError and get the process exit code. If the process isstill running, raise again the PermissionError. Otherwise, theprocess terminated as expected: store its exit code.(cherry picked from commitbd4518c)Co-authored-by: Victor Stinner <vstinner@python.org>
GH-110064 is a backport of this pull request to the3.12 branch. |
GH-110065 is a backport of this pull request to the3.11 branch. |
…nError (GH-110037) (#110065)gh-110036: multiprocessing Popen.terminate() catches PermissionError (GH-110037)On Windows, multiprocessing Popen.terminate() now catchsPermissionError and get the process exit code. If the process isstill running, raise again the PermissionError. Otherwise, theprocess terminated as expected: store its exit code.(cherry picked from commitbd4518c)Co-authored-by: Victor Stinner <vstinner@python.org>
…nError (GH-110037) (#110064)gh-110036: multiprocessing Popen.terminate() catches PermissionError (GH-110037)On Windows, multiprocessing Popen.terminate() now catchsPermissionError and get the process exit code. If the process isstill running, raise again the PermissionError. Otherwise, theprocess terminated as expected: store its exit code.(cherry picked from commitbd4518c)Co-authored-by: Victor Stinner <vstinner@python.org>
…Error (python#110037)On Windows, multiprocessing Popen.terminate() now catchsPermissionError and get the process exit code. If the process isstill running, raise again the PermissionError. Otherwise, theprocess terminated as expected: store its exit code.
Uh oh!
There was an error while loading.Please reload this page.
On Windows, multiprocessing Popen.terminate() now catchs PermissionError and get the process exit code. If the process is still running, raise again the PermissionError. Otherwise, the process terminated as expected: store its exit code.