I am using Git bash in windows to run a .sh
shell script. This script takes some arguments. One of those arguments is a path as shown below:
Test test --path /ROOT/phani123 --comment testing
When I debug the path argument through my Javacode it actually looks like C:/Program Files/Git/ROOT/phani123
. Git bash is prepending its location to the path I've passed.
How to stop Git bash doing this?