public class ProcessResults extends Object:
Immutable value object describing the result of a process execution.
result = Process.execute(["klyn", "--version"], timeout=5_000ul) assert result.exitCode == 0 assert not result.timedOut
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly | PIDPID as UInt |
Operating-system process identifier. |
| public readonly | errorerror as String |
Captured standard error. |
| public readonly | exitCodeexitCode as Int |
Process exit status. |
| public readonly | outputoutput as String |
Captured standard output. |
| public readonly | timedOuttimedOut as Boolean |
Indicates whether execution exceeded the requested timeout. |
| Modifier and Type | Member | Description |
|---|---|---|
| public override | toStringtoString() as String: |
Returns a readable representation of this process result. |