Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read from an external console application?

Tags:

delphi

I have a console application that I didn't write. Is there some easy way to read from it? I need to have the input still on the console window, but read what's being displayed.

I care not whether the output displays to the console or not, so long as the input still works.

like image 210
Nowayz Avatar asked Nov 05 '22 09:11

Nowayz


1 Answers

Console Application Runner Classes are excellent to control the console application processes and to redirect input and output where required.

like image 63
SimaWB Avatar answered Nov 15 '22 05:11

SimaWB