While inspecting the code for finding the causes of the issues of my build for CYGWIN, I found this piece of code:
cpython/Modules/_posixsubprocess.c
Lines 66 to 70 in 5c3deca
CYGWIN supports /dev/fd and not /dev/self/fd as you can see here:
so a tiny fix is needed for adding __CYGWIN__ to the list of platforms to support the rigth entry with the set of file descriptors open in a process.
CPython main branch
Windows
pythongh-148575: Use the right entry to read the set of file descript…
gh-148575: Use /dev/fd/ to read the set of file descriptors on Cygwin (…
Activity
pythongh-148575: Use the right entry to read the set of file descript…
gh-148575: Use /dev/fd/ to read the set of file descriptors on Cygwin (…