How to read from an external console application?

I have a console application that I did not write. Is there an easy way to read from it? I need the input to still be in the console window, but read what is displayed.

It doesn't matter to me whether the output is output to the console or not if the input is still working.

+4
source share
2 answers

Console application launch classes are great for managing console application processes and for redirecting input and output where necessary.

+2
source

I had a project that does the same thing. I have a console application written in VB.Net and I run and commit its output using the Delphi application. I successfully achieved this by following this tutorial from Zarko Gajic.

-1
source

All Articles