commit | 8facece99a5917077833c85c726a699ee7a374f6 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Sat Jan 21 14:01:08 2012 -0800 |
committer | Gregory P. Smith <greg@krypto.org> | Sat Jan 21 14:01:08 2012 -0800 |
tree | 1f1699e06f8dcad3efc3241f7ac8cb5739eb3e26 | |
parent | 12fdca59bbe9a86d304da045008af69b0d21d7b1 [diff] |
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.