Add POSIX_SPAWN_CLOSEFROM for 3.13 linux (#12386)

This commit is contained in:
Max Muoto authored and GitHub committed 2024-07-20 20:59:46 -07:00
1 parent 63100c17fe
commit 5eaa400f2b
3 files changed
+2 -2

No files matched your search

+1
View File
@@ -241,6 +241,7 @@ if sys.platform != "win32":
if sys.version_info >= (3, 13) and sys.platform == "linux":
from os import (
POSIX_SPAWN_CLOSEFROM as POSIX_SPAWN_CLOSEFROM,
TFD_CLOEXEC as TFD_CLOEXEC,
TFD_NONBLOCK as TFD_NONBLOCK,
TFD_TIMER_ABSTIME as TFD_TIMER_ABSTIME,