Possibly the inverse of this question: http://stackoverflow.com/questions/2519673/
I called Kill() on a process and it seems to have exited. But when I test HasExited, I get false:
myProcess.Kill();
while ( !myProcess.HasExited )
{
Thread.Sleep(1000);
}
And this continues indefinitely. Granted, I have to change this code to stop waiting eventually, but I'm curious as to why HasExited still returns false when the process seems to have dropped off the map so to speak.