SIGN IN SIGN UP

[3.11] gh-110036: multiprocessing Popen.terminate() catches PermissionError (GH-110037) (#110065)

gh-110036: multiprocessing Popen.terminate() catches PermissionError (GH-110037)

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.
(cherry picked from commit bd4518c60c9df356cf5e05b81305e3644ebb5e70)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
efe83ad2762e3ea8b396b44947033445c9b31d04
Parent: a997295
Committed by GitHub <noreply@github.com> on 9/29/2023, 1:04:58 AM