Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.58 KB

File metadata and controls

47 lines (39 loc) · 1.58 KB

Component: Execute

Component variation of Execute function

Component Signature

<bx:Execute variable=[string]
name=[string]
arguments=[any]
timeout=[long]
terminateOnTimeout=[boolean]
directory=[string]
outputFile=[string]
errorFile=[string]
errorVariable=[string] />

Attributes

Atrribute Type Required Description Default
variable string true The variable name to produce
name string true The process name or binary path ( e.g. bash or /bin/sh )
arguments any false The process arguments ( e.g. for java --version this would be --version )
timeout long false The timeout to wait for the command, in seconds ( default unlimited )
terminateOnTimeout boolean false Whether to terminate the process/command if a timeout is reached false
directory string false A working directory to execute the command from
outputFile string false
errorFile string false An optional file path to write errors to
errorVariable string false Optional variable to produce for error output

Examples

<bx:Execute variable=[string]
name=[string]
arguments=[any]
timeout=[long]
terminateOnTimeout=[boolean]
directory=[string]
outputFile=[string]
errorFile=[string]
errorVariable=[string] />