[Shell] Execute File
Q100106: [Shell] Execute File
Runs an executable file.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
File to execute | In | The .exe file to be executed. | |
Arguments | In | Command line arguments to be passed to the executable being run. | |
Input | In | Standard Input to pipe to the executable being run. | |
Ignore all error codes | In | Normally the returning ExitCode will be non-zero only if the command was an error. Some commands or executables can return a non-zero exit code to denote something other than an actual failure. Setting this to TRUE will allow a job step to not be flagged as an error condition whatever the value of the exit code. | Default: False |
Ignore error codes above | In | Normally the returning ExitCode will be non-zero only if the command was an error. Some commands or executables can return a non-zero exit code to denote something other than an actual failure. This allows you to specify a range of values that will not result in an error condtion for the step. | |
Ignore error codes below | In | Normally the returning ExitCode will be non-zero only if the command was an error. Some commands or executables can return a non-zero exit code to denote something other than an actual failure. This allows you to specify a range of values that will not result in an error condtion for the step. | |
Log output level | In | Choices: Minimal , Verbose The level of execution detail you want to appear in the log. |
Default: Minimal |
ExitCode | Out | The exitcode returned by the process. | |
OutputText | Out | The output text created by the process. |
(Italics = required parameters)
Notes
The module [Shell] Execute
is used to directly launch an .exe
executable file. This is different from the similar sounding module named [Shell] Command Line
, which is used for running command line commands and running .bat
batch files. By using the [Shell] Execute
module, you have more control over the executable and can send pipe input to it, as well as retrieve and act on error codes, and retrieve output text.
Last Updated:
6/28/2023 10:37:30 PM