Format: application/octet-stream
1 from typing import Any, Iterable, List, Optional, TextIO, Tuple, TypeVar, Union
2
3 _T = TypeVar("_T")
4
5 class Popen3:
6 sts: int
7 cmd: Iterable[Any]
8 pid: int
9 tochild: TextIO
10 fromchild: TextIO
11 childerr: Optional[TextIO]
12 def __init__(self, cmd: Iterable[Any] = ..., capturestderr: bool = ..., bufsize: int = ...) -> None: ...
13 def __del__(self) -> None: ...
14 def poll(self, _deadstate: _T = ...) -> Union[int, _T]: ...
15 def wait(self) -> int: ...
16
17 class Popen4(Popen3):
18 childerr: None
19 cmd: Iterable[Any]
20 pid: int
21 tochild: TextIO
22 fromchild: TextIO
23 def __init__(self, cmd: Iterable[Any] = ..., bufsize: int = ...) -> None: ...
24
25 def popen2(cmd: Iterable[Any] = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...
26 def popen3(cmd: Iterable[Any] = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO, TextIO]: ...
27 def popen4(cmd: Iterable[Any] = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...
28