C# : Redirect console application output : How to flush the output?

后端 未结 3 1223
遇见更好的自我
遇见更好的自我 2020-11-30 12:51

I am spawning external console application and use async output redirect.
as shown in this SO post

My problem is it seems that the spawned process needs to pro

3条回答
  •  情深已故
    2020-11-30 13:50

    Check out this answer.

    How to send input to the console as if the user is typing?

    The idea is that you will receive the output received events when any is thrown after the process is started.

提交回复
热议问题