gh-112800: Ignore PermissionError on SubprocessTransport.close() in asyncio (#112803)
In case the spawned process is setuid, we may not be able to send signals to it, in which case our .kill() call will raise PermissionError. Ignore that in order to avoid .close() raising an exception. Hopefully the process will exit as a result of receiving EOF on its stdin.
A
Allison Karlitskaya committed
0187a7e4ec9550a6e35dd06b26f22863520242ab
Parent: ca71987
Committed by GitHub <noreply@github.com>
on 12/24/2023, 12:43:39 AM