Redirect console output to textbox in separate program

前端 未结 5 2036
误落风尘
误落风尘 2020-11-22 16:16

I\'m developing an Windows Forms application that requires me to call a separate program to perform a task. The program is a console application and I need to redirect stan

5条回答
  •  执笔经年
    2020-11-22 16:58

    See How to run a .EXE file from C# and obtain(pipe) the results from DOS windows back into the C#

提交回复
热议问题