Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #RUN (execute program) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#RUN( program ) [, WAIT ]

blk2blue.jpg

#RUN Launches the named program.
program A string constant containing the name of the program to execute, including any command line parameters.
WAIT Specifies waiting for the program to complete its execution before proceeding to the next template language statement.

The #RUN statement launches the specified program by using the Clarion language RUN statement. Template execution continues concurrently with the execution of the program, unless the WAIT attribute is specified.

Example:

#RUN('MyExe.EXE')                            #!Launch MyExe.EXE