API reference
python:arxpy:arxpy.compiler.ExecutionResult
class ExecutionResult
ExecutionResult(exit_code: int, stdout: str, stderr: str)
Source: packages/arxpy/src/arxpy/compiler.py:163
Captured result of running an executable artifact.
A completed nonzero execution remains result data. The exception property decodes an uncaught Arx exception when stderr contains a valid runtime report; it does not raise a Python compiler exception.
Attributes
-
exit_code — Exit code.; Type: int
-
stdout — Stdout.; Type: str
-
stderr — Stderr.; Type: str
-
exception — Exception being handled.; Type: ExceptionReport | None
Methods
- __init__ — Initialize a captured execution result.
Properties
- exception — Decode an uncaught Arx exception as execution data.