lundi 2 avril 2018

The prelaunchtask build using robocopy ended with exit code 2

i have a weird problem, I'm programming a game engine in C++ on Visual Studio Code.

the build works successfully and all the dependencies get copied, so my script doesn't have any problem, the problem is that it seems that robocopy, the new alternative to xcopy for windows doesn't always exit with the exit code 0, sometimes it exits with exit code 1 or 2, that are not real errors but are simply to indicate for instance that it has detected files that are not present in the source directory (which is normal since gcc generates the executable in the same directory)

i tried this vs code command to disable the popup because of it when launching the debug process

"terminal.integrated.showExitAlert": false

but it didn't work

is there a better way to fix this issue ?

Aucun commentaire:

Enregistrer un commentaire