C++运行cmd命令或exe 1、system('testapp.exe'):这样运行会默认有调试窗口,即黑色的dos窗口。2、WinExec("testapp.exe", SW_HIDE): 同样可以运行exe程序,同时隐藏调试窗口。 C++ 2023-07-21 104 点赞 1 评论 157 浏览