Add stubs for posix_spawn and posix_spawnp (#5846)

This commit is contained in:
an onion authored and GitHub committed 2021-08-05 18:55:26 -07:00
1 parent 74c3d9a093
commit f30d6f6fd0
2 files changed
+33 -2

No files matched your search

+2
View File
@@ -819,6 +819,8 @@ else:
def WEXITSTATUS(status: int) -> int: ...
def WSTOPSIG(status: int) -> int: ...
def WTERMSIG(status: int) -> int: ...
if sys.version_info >= (3, 8):
from posix import posix_spawn as posix_spawn, posix_spawnp as posix_spawnp
if sys.platform != "win32":
from posix import sched_param