run

run

Executes an external file or script in profile.xml or any included script files.  Execution proceeds from the point where the script was called with the run command.

Attributes:

script: name of the ComScript script to run.  
file: the name, extension and path (if not local)  Note: either the file or script attribute is required
args: string containing all arguments
background (external files only): "True" to start the process and continue profile execution, "False" (default) to wait until the process completes

Examples:

<run script="GetTempData" />
<run file="plotdata.bat" args="datafile.csv" /> default file path is the local profile folder
<run file="C:\Program Files\R\R-2.12.0\bin\R" args="getstats.r" background="True" />