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 — Type: str
-
stderr — Type: str
-
returncode — Type: int
-
command — Type: Sequence[str]
Methods
- __init__ —
Properties
- success — Return True if the command exited with code 0.