cMainExe = "main.exe Par1 Par2" && Set up exe command with parameters list RUN /N &cMainExe && Run exe without waitingIf your main.exe does not set its own path when loading then you can add the following path code:
cCurPath = SET("DEFAULT") && Save current path setting cMainExe = "main.exe Par1 Par2" && Set up exe command with parameters SET DEFAULT TO "X:\NEWFOLDER" && Optional since main exe could set default path RUN /N &cMainExe && Run exe without waiting SET DEFAULT &cCurPath && Restore to current pathIMO the main benefit from API_AppRun is: "...allows you to wait on termination or return immediately, and allows you to examine the execution status and termination code from an executable run by the class."