stdout
Some execution steps (such as those that run shell commands) return standard output. For example, the shell command dir (on Windows) returns a list of directories. When a step returns a result, FlowForce Server automatically assigns to it the generic type result. With the stdout function, you can get access to the standard output of result, as follows:
stdout(result) |
where result is the value returned by some execution step.
This function fails if result does not provide standard output.
Signature
stdout(result:result) -> stream |
Parameters
Name | Type | Description |
---|---|---|
result | result | The result of the step whose standard error you want to get. |
Examples
See the following examples:
•Adding Error Handling to a Job
•Validate an XML Document with Error Logging