run console application in C# with parameters

前端 未结 6 1854
隐瞒了意图╮
隐瞒了意图╮ 2020-12-11 02:31

How can I run a console application in C#, passing parameters to it, and get the result of the application in Unicode? Console.WriteLine is used in the console

6条回答
  •  死守一世寂寞
    2020-12-11 03:13

    Here http://www.aspcode.net/ProcessStart-and-redirect-standard-output.aspx You can see how to read the output from the console app You start with Process.Start().

提交回复
热议问题