mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add missing exec*, EX_* stubs for python 2 and fix py3 types.
This commit is contained in:
@@ -276,10 +276,10 @@ def execle(path: AnyStr, arg0: AnyStr,
|
||||
def execlp(path: AnyStr, arg0: AnyStr, *args: AnyStr) -> None: ...
|
||||
def execlpe(path: AnyStr, arg0: AnyStr,
|
||||
*args: Any) -> None: ... # Imprecise signature
|
||||
def execv(path: AnyStr, args: List[AnyStr]) -> None: ...
|
||||
def execve(path: AnyStr, args: List[AnyStr], env: Mapping[AnyStr, AnyStr]) -> None: ...
|
||||
def execvp(file: AnyStr, args: List[AnyStr]) -> None: ...
|
||||
def execvpe(file: AnyStr, args: List[AnyStr],
|
||||
def execv(path: AnyStr, args: Union[Tuple[AnyStr], List[AnyStr]]) -> None: ...
|
||||
def execve(path: AnyStr, args: Union[Tuple[AnyStr], List[AnyStr]], env: Mapping[AnyStr, AnyStr]) -> None: ...
|
||||
def execvp(file: AnyStr, args: Union[Tuple[AnyStr], List[AnyStr]]) -> None: ...
|
||||
def execvpe(file: AnyStr, args: Union[Tuple[AnyStr], List[AnyStr]],
|
||||
env: Mapping[str, str]) -> None: ...
|
||||
def _exit(n: int) -> None: ...
|
||||
def fork() -> int: ... # Unix only
|
||||
|
||||
Reference in New Issue
Block a user