zut.process.run_process
- zut.process.run_process(cmd: str | PathLike | bytes | Sequence[str | PathLike | bytes], *, encoding: Literal['bytes'], sudo=False, check: int | Sequence[int] | bool = False, capture_output: bool | None = None, stdout: Literal['disable', 'raise', 'warning', 'error'] | Callable[[bytes], Any] | None = None, stderr: Literal['disable', 'raise', 'warning', 'error'] | Callable[[bytes], Any] | None = None, strip: Literal['rstrip-newline', 'strip', True] | None = None, strip_stderr: Literal['rstrip-newline', 'strip', True] | None = None, input: str | None = None, shell=False, env: Mapping[str, Any] | None = None, logger: Logger | None = None) CompletedProcess[bytes]
- zut.process.run_process(cmd: str | PathLike | bytes | Sequence[str | PathLike | bytes], *, encoding: Literal['utf-8', 'cp1252', 'unknown'] | None = None, sudo=False, check: int | Sequence[int] | bool = False, capture_output: bool | None = None, stdout: Literal['disable', 'raise', 'warning', 'error'] | Callable[[str], Any] | None = None, stderr: Literal['disable', 'raise', 'warning', 'error'] | Callable[[str], Any] | None = None, strip: Literal['rstrip-newline', 'strip', True] | None = None, strip_stderr: Literal['rstrip-newline', 'strip', True] | None = None, input: str | None = None, shell=False, env: Mapping[str, Any] | None = None, logger: Logger | None = None) CompletedProcess[str]