The RunWait command

The RunWait command allows users to call executable programs from within EC Gateway, and wait until the execution is finished. You can set both command line switches and a starting directory. The following parameters can be defined from this window.

Field

Description

Label

Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process Window.

Disable command

Disabling the command will allow temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script file (.pfs file).

Executable Name

Name of the file to be executed, including full path information as a FileName variable. You can browse for the executable file to run by clicking the Constant option. The Browse – Select an Executable window opens.

Working Directory

Default directory for executable program operation stored in the Parameter variable or the Constant option.

Arguments

Command line switches to be passed to the executable program, if required. Select either Parameter or Constant.

Exit Code

Select a Count variable.