COMMAND

Executes a shell command.

Syntax:

COMMAND executable, arguments

Discussion:

The values executable and arguments are either string literals or string variables. The value of executable is the name (including folder path) to the executable to run. The value of arguments is optional, and includes any command line arguments to the executable.

Once the command is launched, the executable runs in its own thread. This command does not cause the ZPL macro or OpticStudio to "wait" until the executable completes its task. No error codes are returned, and OpticStudio has no way of knowing if the shell command was launched successfully.

Next: