System() This method starts running a program and waits for it to exit. The executable can be an MS-DOS or Windows executable, including *.exe, *.com, *.bat, and *.pif files. This function does not return until the command terminates. User keyboard and mouse events are ignored until the command exits.
If you do not want to wait for the program to exit, use LaunchExecutable() or LaunchExecutableEx() in the Utility Library.
LaunchExecutableEx()Performs the same operation as
LaunchExecutable with the following extended features:
- Under Windows, you can specify how the Windows application displays.
- LaunchExecutableEx returns a handle to the executable that can show whether the executable is still running and that you can use to terminate the executable.
This function starts running a program and returns without waiting for the program to exit. The executable can be a DOS or Windows executable, including *.exe, *.com, *.bat, and *.pif files.