This macro is used to launch executables as separate processes. It is available to execute generation commands only, and may be used in addition to standard GTL macros when defining commands.
Parameter |
Description |
---|---|
cmd |
Executable path Type: Simple template (escape sequences ignored) |
args |
[optional] Arguments for the executable Type: Simple template (escape sequences ignored) |
mode |
[optional] You can choose one of the following: |
Note that if an .execute_command fails for any given reason (executables not found, or output sent to stderr), the command execution is stopped.
Example:
.execute_command(notepad, file1.txt, cmd_ShellExecute)