Run a Shell Script with X Arguments Step

This step executes a shell or batch script a number of times equal to a multivalued input.

Required properties:

Property Description
Directory Offset The working directory to use when executing this command. This is relative to the current working directory.
xargs The comma-separated values to use as input to the script. They are passed as input to the script.
Shell Script Enter the script code to execute.

Optional properties:

Property Description
Interpreter

(Optional) Specify the interpreter to use to evaluate the command. If left empty, the following platform-specific behavior applies:

  • Command Line uses the .bat file interpreter on Windows and the .com file interpreter on VMS.

  • On other systems it uses the shell specified by the air/shell agent variable if present. UNIX/Linux systems may override this by having the command line start with a #! sequence.

Daemon Select this option to run the command in the background while permitting the step to complete immediately. The output is not captured if running as a daemon.
Output File Select this value only if running as a daemon. Enter the path of the file to which the command output is directed. Leave empty to discard the output. The output is not captured if an output file is not specified.