SIGN IN SIGN UP

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

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
a2074911baaa75216a6a3bc78487ee2254f031d5
Parent: aaa8bf1
Committed by GitHub <noreply@github.com> on 10/2/2023, 3:44:26 PM