How to read from an external console application?

后端 未结 2 1988
逝去的感伤
逝去的感伤 2020-12-19 15:01

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 displ

2条回答
  •  -上瘾入骨i
    2020-12-19 15:52

    I had a project that is doing the same thing. I have a console application written in VB.Net and I run and capture it's output using my Delphi application. I have successfully achieved this by following this tutorial by Zarko Gajic.

提交回复
热议问题