Command Result
5 nodes
On this page 5
Error
FunctionWhat the program printed to its error stream, as UTF-8 text, with the line ending after the last line taken off.
Signature
Error(Command Result: Command Result) -> Text
string Error(CommandResult Command Result)
Parameters
| name | type | default | description |
|---|---|---|---|
| Command Result | Command Result | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Command Result
- Package
- Standard Library
Exit Code
FunctionThe code the program ended with: 0 by convention when it succeeded, anything else when it did not.
Signature
ExitCode(Command Result: Command Result) -> Integer
int ExitCode(CommandResult Command Result)
Parameters
| name | type | default | description |
|---|---|---|---|
| Command Result | Command Result | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Command Result
- Package
- Standard Library
Output
FunctionWhat the program printed to its output, as UTF-8 text, with the line ending after the last line taken off.
Signature
Output(Command Result: Command Result) -> Text
string Output(CommandResult Command Result)
Parameters
| name | type | default | description |
|---|---|---|---|
| Command Result | Command Result | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Command Result
- Package
- Standard Library
Succeeded
FunctionWhether the program ended with code 0, which programs use to say they succeeded.
Signature
Succeeded(Command Result: Command Result) -> Truth
bool Succeeded(CommandResult Command Result)
Parameters
| name | type | default | description |
|---|---|---|---|
| Command Result | Command Result | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Command Result
- Package
- Standard Library
To String
FunctionThe exit code and what was printed, for showing.
Signature
ToString(Command Result: Command Result) -> Text
string ToString(CommandResult Command Result)
Parameters
| name | type | default | description |
|---|---|---|---|
| Command Result | Command Result | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Command Result
- Package
- Standard Library