1from typing import Any, Dict, List, Mapping, Optional, Sequence
2from types import ModuleType
3
4WINEXE: bool
5WINSERVICE: bool
6
7def set_executable(exe: str) -> None: ...
8def get_executable() -> str: ...
9def is_forking(argv: Sequence[str]) -> bool: ...
10def freeze_support() -> None: ...
11def get_command_line(**kwds: Any) -> List[str]: ...
12def spawn_main(pipe_handle: int, parent_pid: Optional[int] = ..., tracker_fd: Optional[int] = ...) -> None: ...
13# undocumented
14def _main(fd: int) -> Any: ...
15def get_preparation_data(name: str) -> Dict[str, Any]: ...
16old_main_modules: List[ModuleType]
17def prepare(data: Mapping[str, Any]) -> None: ...
18def import_main_path(main_path: str) -> None: ...
19