Nick Henderson <nhenderson...@gmail.com> added the comment:
We have recently bumped into a similar problem. Using FreeBSD, subprocess calls were taking more than 10 times the usual time to execute after migrating to python3.6. After some digging, the default for 'close_fds' was changed to 'True'. On linux, this actually made things faster, but for unix, much slower. Passing 'close_fds=False' solved this for us. ---------- nosy: +nickhendo _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37790> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com