Add POSIX_SPAWN_CLOSEFROM for 3.13 linux (#12386)

This commit is contained in:
Max Muoto
2024-07-20 22:59:46 -05:00
committed by GitHub
parent 63100c17fe
commit 5eaa400f2b
3 changed files with 2 additions and 2 deletions

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,