System Tools and Scripting Plugins → Shell Plugin → Creating a Run a Shell Script with X Arguments Step
This step executes a shell or batch script a number of times equal to a multi-valued input.
|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.|
|Interpreter||Optionally specify the interpreter to use to evaluate the command. If left blank the following platform-specific behavior will be used: Command Line will use the .bat file interpreter on Windows and the .com file interpreter on VMS. On other systems it will use 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 will not be captured if running as a daemon.|
|Output File||Only select this value if running as a daemon. Enter the path of the file to which the command output is directed. Leave blank to discard the output. The output will not be captured if an output file is not specified.|
Copyright © 2013–2016 Serena Software, Inc. All rights reserved.