manager.pyi 394 B

123456789101112131415
  1. from .printer import Printer
  2. from .process import Process
  3. class Manager:
  4. returncode: int | None
  5. def __init__(self, printer: Printer | None = ...) -> None: ...
  6. def add_process(
  7. self,
  8. name: str,
  9. cmd: str,
  10. quiet: bool = ...,
  11. env: dict[str, str] | None = ...,
  12. cwd: str | None = ...,
  13. ) -> Process: ...
  14. def loop(self) -> None: ...