Then 'Get a handle to the shelled process. If successful, wait for the application to end and close the handle. If Instructions Download the source code and run it. It is more illustrative if you step through the code using the debugger. Enter the full path of the program you want to run and wait for.
Calculator is a good example.
Click the Start App button and the application, Calculator in this case, will be started. The sample program will wait until you close the calculator.