Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are.
G
Gregory P. Smith committed
8facece99a5917077833c85c726a699ee7a374f6
Parent: 12fdca5