STINNER Victor <vstinner at python.org> added the comment: See also bpo-38061: "FreeBSD: Optimize subprocess.Popen(close_fds=True) using closefrom()". ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue13788> _______________________________________