mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
25 lines
647 B
Python
25 lines
647 B
Python
import sys
|
|
from collections.abc import Callable, Sequence
|
|
|
|
if sys.platform != "win32":
|
|
def cloexec_pipe() -> tuple[int, int]: ...
|
|
def fork_exec(
|
|
args: Sequence[str],
|
|
executable_list: Sequence[bytes],
|
|
close_fds: bool,
|
|
fds_to_keep: Sequence[int],
|
|
cwd: str,
|
|
env_list: Sequence[bytes],
|
|
p2cread: int,
|
|
p2cwrite: int,
|
|
c2pred: int,
|
|
c2pwrite: int,
|
|
errread: int,
|
|
errwrite: int,
|
|
errpipe_read: int,
|
|
errpipe_write: int,
|
|
restore_signals: int,
|
|
start_new_session: int,
|
|
preexec_fn: Callable[[], None],
|
|
) -> int: ...
|