Hi,
I want to restart an another application when it got closed in c#.net
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AlanPosted Jan 11, 2008, 9:30 AM
You can use the System.Diagnostics.Process class to start (or restart) any application from C#:
http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.aspx
For example, to restart an application called myapp.exe, which takes no command line arguments and runs in a normal window, use the line:
Process.Start("myapp.exe");