I wrote a simple CURL and put it in a script file.
if i run mintty first and then \"test.sh\" it runs the script in the file just fine. Works perfectly.
how
Invokes the right shell, no unnecessary windows and invokes a bash script afterwards which will be hold.
Create a Shortcut to mintty.exe on your desktop, for example
Edit properties of the shortcut and change the target (keep the path):
C:\Program Files\Git\usr\bin\mintty.exe" -h always /bin/bash -l -e 'D:\folder\script.sh'