I am running a command line utility using Process.Start
. For debugging purposes I would like to have its output stream to Visual Studio's Debug Output panel (Debug.Write
). I'd like to do this in real time rather than waiting for the process to complete and then writting it all at once.
I know this is possible in theory but I'm not experienced enough with the Stream
object to know how to do this.