What does process WaitForExit do?
What does process WaitForExit do? WaitForExit() makes the current thread wait until the associated process terminates. To avoid blocking the current thread, use the Exited event. This method instructs the Process component to wait...