Run the application and wait for it to close

Launching the application and waiting for it to close. It is possible to specify the maximum waiting time, after which the function will continue to work without waiting for the termination of the running application. Hidden launch of applications without the appearance of windows, both console and windowed.

<! - more -> Options

path_params - path to the application with parameters

workDir - application working directory

sec - maximum time to wait for close in seconds (0 - do not wait)

showWin - show the window of the application being launched or hide


True if the application was launched successfully, False if not.

Author: admin