Workspace 6.21.5
|
Runs a script with a user-installed runtime. This is the most generic RunScript operation.
Inputs: | |||
---|---|---|---|
External runtime | QString | Set to the location of the user-installed runtime that will execute the script. If pointing to another version of workspace application, be aware of the inherited environment variables. Setting 'WORKSPACE_INSTALL_AREAS=' in "Environment variables" could workaround this particular situation. | |
Options | Array | QString | Parameters passed on the command line to the "External runtime" before the script filename. |
External script file | QString | If supplied, set to the location of the script file that will be executed by the "External runtime". | |
External script | QString | If supplied, enter user-defined script directly as an input - this will be saved to a temporary file before execution by the "External runtime". | |
Arguments | Array | QString | Pararemters passed on the command to the "External runtime" after the script filename. |
Output file | QString | If supplied, this value is passed to the runtime as an environment variable "SCRIPT_OUTPUT_FILENAME".The script itself must read this value and output data to this file. | |
Working directory | QString | If supplied, this directory will be used as the working directory during execution. | |
Environment variables | Array | QString | These environment variables will be set before the runtime executes the script. |
Wait for completion | bool | ||
Capture output | bool | ||
Log output | bool | ||
Fail on non zero exit code | bool | ||
Outputs: | |||
Exit code | int | ||
Command output | QString | Output written to the command shell may be captured and returned to the workflow via this output. | |
Script output file | QString | if a value was entered for the "Output file" input then his will be the same value. | |
Script output | CSIRO::DataExecution::Dependency | If an output filename and a type are supplied, then the output filename will be read as the specified type and made available to the workflow. |