Determining if external executable has completed

  • Thread starter Thread starter Adam Stocks
  • Start date Start date
A

Adam Stocks

I have an application that calls an external application, specifically ccmclean.exe
(cleans SMS client install), during the diagnostic process of the application.
I need to figure out how to know when the external app, ccmclean.exe, has
finished running so that I can resume my app. Thanks in advance for any help.
 
Adam,

The assumption is that you run the process using the Process class.
Once you call Start, call the WaitForExit method on the Process instance.
Your code will wait until the process has completed.

Hope this helps.
 
Back
Top