Run

Parent Previous Next

Run

Function to execute an external application.


Syntax:

Void Run(String path);
Execute an external application configured in the path parameter.


Void Run(String path, String parameter);
Execute an external application configured in the path parameter.

Params:

String path: A String parameter that contains the path where the application is located.

String parameter:  Command-line arguments to pass when starting the process.


Example:

Execute the application located at 'c:\app.exe'.

  


SVApplications.Run("c:\\app.exe");

 


Execute the application located at 'c:\app.exe' passing the parameter 'DEBUG=1'.

  


SVApplications.Run("c:\\app.exe","'DEBUG=1");