Closed shyperson0 closed 7 months ago
Hi! This is not a bug, but a misunderstanding of what the *
actually does or where it's executed. Wildcard expansion is a feature of the shell (and it's pretty much standard on any shell except for the old cmd.exe
that it has a partial implementation), but the build step cannot and does not run in the shell (only the run step), so using *
in this context doesn't mean anything, it will simply try to delete the file called *.exe
. Trying to clarify a little bit further: the build step simply executes a process with some arguments, the concept of wildcard expansion doesn't exists here.
As you mentioned, using a shell script is the easiest solution.
copy pasting
del C:\Users\pc\mini3d\build\*.exe
straight outta the build output into a terminal works just fine. setting terminal to powershell and usingrm
doesn't seem to work either.project_build.json
using a bat file containing
del C:\Users\pc\mini3d\build\*.exe
works just fine.