When using the following code
The p.HasExited is always true and I can't get any more info from the process. I want to be able to get the MainWindowTitle and the MainWindowHandl e but I can't figure out a way to do this because if I try to it says the process has exited.
Code:
p = Process.Start("firefox", "-new-window http://google.com/");
p.WaitForInputIdle();
MessageBox.Show(p.HasExited.ToString());
Comment