mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
Add stubs for posix_spawn and posix_spawnp (#5846)
This commit is contained in:
1 parent
74c3d9a093
commit
f30d6f6fd0
2 files changed
+33
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user