Posts Tagged ‘bash.exe’

May 6, 2015 0

running a bash script from windows command using bash installed by git for windows

By in GIT, Windows

from a windows command navigated to git bin folder one can execute: bash.exe –login -i to start a nice shell if this line is given another parameter its assumed to be a script file which is executed. Additional arguments are passed to the script file as arguments. bash.exe –login -i “myscript.sh” “arguments”

Tags: ,