Console application not closing

后端 未结 5 1325
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-07 06:38

I\'m developing a console application that is supposed to run under WinCE 6.0 and WinCE 7.0. I\'m using C#, Compact Fra

5条回答
  •  天涯浪人
    2021-02-07 06:47

    Are you putting you .exe file in Arguments property of ProcessStartInfo ? If you must do that, I believe that you're using CMD in FileName property, so you must use /K before your .exe name. Or just put in FileName the .exe path. You can clarify a lot if you put the code that calls your application.

提交回复
热议问题