How do I capture the output of let's say a compiler? I would like to fire an interpreter for example, perl.exe and I want to capture the output.
Thanks in advance.
Printable View
How do I capture the output of let's say a compiler? I would like to fire an interpreter for example, perl.exe and I want to capture the output.
Thanks in advance.
You can run an executable like that using Process.Start. Gigemboy has posted code in the VB.NET CodeBank to redirect standard output from the command prompt. It shouldn't be too difficult to adapt it to C#.
Ok, thanks. Will look at it.