Skip to content

cmdrunner

CmdRunner

Run a terminal command, if any of pipe_stdout or pipe_stderr are set, command will be run in a pseudo-terminal (pty).

PARAMETER DESCRIPTION
args

TYPE: str | list[str]

pipe_stdout

Capture output from stdout

TYPE: bool DEFAULT: True

pipe_stderr

Capture output from stderr

TYPE: bool DEFAULT: True

wraplines

Wrap lines longer than widget width

TYPE: bool DEFAULT: False

shell

Run command in a shell (allows glob expansion, piping and redirection)

TYPE: bool DEFAULT: False

**kwargs

TYPE: Any DEFAULT: {}