I am trying to write a .bat file that executes a few SCons commands, but I found that once the first executes, the bash closes without executing the others.
So I made a sub-routine and use the CALL command:
call :my_subroutine
pause
exit /b
:my_subroutine
scons platform=windows -c
exit /b
While this subroutine executes correctly with a echo "test"
inside, as soon as I put the scons command, the console says it can't find the command file named my_subroutine
...
D:\...\godot>call :my_subroutine
D:\...\godot>scons platform=windows -c
Le système ne trouve pas le nom de fichier de commandes - my_subroutine
D:\...\godot>pause
Appuyez sur une touche pour continuer...
Messages in english:
The system doesn't finds the name of the commands file - my_subroutine
[...]
Press a key to continue...