API reference
python:irx:irx.builder.base.CommandResult
class CommandResult
CommandResult(stdout: str, stderr: str, returncode: int, command: Sequence[str])
Source: packages/irx/src/irx/builder/base.py:26
Structured result from a shell command.
Attributes
-
stdout — Stdout.; Type: str
-
stderr — Stderr.; Type: str
-
returncode — Returncode.; Type: int
-
command — Command.; Type: Sequence[str]
-
success — Whether to use success.; Type: bool
Methods
- __init__ —
Properties
- success — Return True if the command exited with code 0.