[issue47245] Subprocess with vfork() is broken
Марк Коренберг
report at bugs.python.org
Wed Apr 6 17:13:05 EDT 2022
Марк Коренберг <socketpair at gmail.com> added the comment:
Solution:
https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/spawni.c#L309
In short - do not use vfork(). Use clone(CLONE_VM | CLONE_VFORK). and do something with stack.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47245>
_______________________________________
More information about the Python-bugs-list
mailing list