如何使我的 Visual Studio 2019,在我的 C++ Build 成功编译后运行自定义 exe?
我尝试插入 PostEvent 构建,执行以下命令:“start C:\Test.exe”但可执行文件在编译运行时启动(编译仅在我退出 Test.exe 时完成)。
我想在编译器成功构建后直接启动程序。
提前致谢。
它不漂亮,但很管用:powershell "Start-Process c:\test.exe"
powershell "Start-Process c:\test.exe"