Redirect but also display process output stream

后端 未结 3 1350
-上瘾入骨i
-上瘾入骨i 2020-12-20 23:47

I am running a build, and I would like to be able to view the progress as it happens. But I would also like to save the output if the build has an error.

I know I c

3条回答
  •  [愿得一人]
    2020-12-21 00:26

    this answer should help you Redirect Standard Output Efficiently in .NET

    PS I am never sure if linking to another answer on SO is an answer or a comment

提交回复
热议问题