Determining if external executable has completed

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.
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top