Visual Studio 2019 C++ After Successed Build Run an .exe

382 views Asked by At

How to make my Visual Studio 2019, running an custom exe after my C++ Build successfully compile?

i tried to insert into the PostEvent builds, following command: "start C:\Test.exe" but the executable starts while the compile is running ( compile completes only when i exit the Test.exe).

I wanted to start the Program directly after the compiler succesfully builds.

Thanks in advance.

enter image description here

1

There are 1 answers

0
Claudiu Guiman On BEST ANSWER

It's not pretty but it does the job: powershell "Start-Process c:\test.exe"