Gregory P. Smith <g...@krypto.org> added the comment: A raw os.posix_spawn() API has been added to 3.7.
vfork() would likely all sorts of other problems. It is extremely complicated and implementations have bugs. CERT says never to use it. https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152373 When forking or threading is involved, you are already always at the mercy of all other code running in your process. This is not new. That some C/C++ libraries misuse pthread_atfork() is not a surprise. But the bug is theirs. We should not try to paper over others C and system call mistakes. Their code needs fixing. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31814> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com