STINNER Victor <vstin...@redhat.com> added the comment:

I wrote PR 11452 which is based on PR 11242 but adds support for 'env' and 
'restore_signals' parameters and checks the operating system and libc version 
to decide if posix_spawn() can be used by subprocess.

In my implementation, posix_spawn() is only used on macOS and glibc 2.26 or 
newer (and glibc 2.24 and newer on Linux).

According to Alexey Izbyshev, musl should be safe as well, but I don't know how 
to test musl on my Fedora, nor how to check if Python is linked to musl, nor 
what is the minimum musl version which is safe.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35537>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to