Executing a script in MSYS2/MinGW
问题 On Windows, if I start c:\msys64\mingw64.exe , it opens a shell, where I can build my project, let's say by calling a release bash script (to simplify). Everything works fine. Now, I would like to execute my release script on mingw64 directly, without interaction. I tried: c:\msys64\mingw64.exe /c/the/full/path/release A window opens and closes, it does not work. I attempted to use bash directly, but it seems the environment is not correctly set: > c:\msys64\usr\bin\bash -c ls /usr/bin/bash: