I opened a Command Prompt in my system and I'm passing some series of commands to it using
System.Windows.Forms.SendKeys.Send(key);
method.
Now is it possibel to get the status of command prompt that means whether it is executing command or it is in idle state and how to know which command it is executing at particular time?