Trying to get StandardOutput after running a console process

后端 未结 2 1196
我在风中等你
我在风中等你 2021-01-23 14:19

I can run a console process using the following C# code. The goal is also to collect all the output from such process:

System.Diagnostics.Process proc = new Syst         


        
2条回答
  •  一生所求
    2021-01-23 15:11

    Have you tried redirecting and watching StandardError too? It seem likley that this is output to the error stream.

提交回复
热议问题