Is it possible to get the console output of a running process? I know I can get a list of all running processes like this:
Process.GetProcesses();
But how can I tap into the standard output and pipe it to a file or to a different console app.
The presuppose is to create a debugging\ tracing tool to an existing application that I cannot change.
The app fires a specific process and does not set the RedirectStandardOutput
property so I have no way of diganosting the output of that child process.