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: ,


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/mgis.dk/about/wp-includes/class-wp-comment-query.php on line 399

Leave a Reply