How to stop an application?

Posted by Praveen Sharma on Stack Overflow See other posts from Stack Overflow or by Praveen Sharma
Published on 2010-05-11T14:08:04Z Indexed on 2010/05/11 14:24 UTC
Read the original article Hit count: 229

Filed under:
|

I have an application and from this application I have to start another process by shutting down the current application and after the completion of the process again start the application. The flow is as follows, suppose I have an application app.exe, and another application another.exe, so i have to do following:

1) Start app.exe

2) Stop/shutdown app.exe and start another.exe from app.exe

3) When another.exe completes, stop/shutdown another.exe and start app.exe from another.exe

Anyone please provide me some clue of how to do it ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET