Run console application from other console app

前端 未结 6 1953
耶瑟儿~
耶瑟儿~ 2020-12-02 18:40

I have a C# console application (A). I want to execute other console app (B) from within app A (in synchronous manner) in such way that B uses the same command window. When

6条回答
  •  爱一瞬间的悲伤
    2020-12-02 19:17

    you can "wrap" the old console app with the new one by including it in your references and starting it off by calling whatever method is called in the run method of the program class

提交回复
热议问题