API reference

python:irx:irx.builder.base.run_command

function run_command

run_command(command: Sequence[str], *, capture_stderr: bool = True, raise_on_error: bool = True, debug: bool = False) -> CommandResult

Source: packages/irx/src/irx/builder/base.py:80

Run a shell command and return a structured CommandResult.

Parameters

Returns

Type: CommandResult

Raises

Search documentation

Type to search.