LaunchProcess

Description

Launches an external process.

int LaunchProcess(string exeFilename, string args, bool bWait, 
                  bool elevatedPrivileges)

Arguments

NameData TypeDescription
exeFilenamestringthe full path of the executable to launch
argsstringarguments to provide to the executable
bWaitboolflag that indicates whether to wait for the process to exit before proceeding
elevatedPrivilegesboolflag that indicates whether the process should request elevated privileges. When using this API to launch the QLM License Wizard, it is recommended to launch the process with elevated privileges to allow the License Wizard to store license keys at the MACHINE level.

Return

Data TypeDescription
intexit code of the process