Repeatably Feeding Input to a Process' Standard Input

前端 未结 1 1665
攒了一身酷
攒了一身酷 2020-12-10 17:26

I have a (C#) console application which maintains a state. The state can be altered by feeding the application with various input through the console. I need to be able to b

相关标签:
1条回答
  • 2020-12-10 18:08

    That is happening because of you are using Write("ready") which is will append a string to the text, instead use WriteLine("ready"). that simple :).

    0 讨论(0)
提交回复
热议问题