I have an application, and from this application I need to start another process, disconnecting the current application and after the process is completed, restart the application. The flow is as follows: suppose I have an app.exe application and another another.exe application, so I have to do the following:
1) Run app.exe
2) Stop / shutdown app.exe and run the other.exe file from app.exe
3) When another.exe shuts down, stop / turn off another.exe and run app.exe from other.exe
Someone please give me some idea on how to do this?
source share