![]() In other words, "C:\Program Files\Git\bin\bash.exe" -i -c '/usr/bin/awk -F, -f process.awk *.txt' worked if I specify a "start in" directory, whereas "C:\Program Files\Git\bin\bash.exe" -login -i - '/usr/bin/awk -F, -f process.awk *.txt' didn't (with or without the single quotes). It seems I needed to drop - in favor of -c and add single-quotes around my within-bash command. In other words, Git Bash is an application that adds an emulation layer on Microsoft Windows environments to use Git command-line experience. Hence, Git for Windows provides a Bash emulation to run Git from the command line. I'm not quite sure why it didn't work when I attempted to run a script with parameters, as otherwise written. Instead, Microsoft Windows use windows command prompt, a non- UNIX terminal.is there a difference between Git\bin\bash.exe and Git\bin-bash.exe ?. ![]() what's the advantage of doing the cmd /c vs direct invocation? In other words, why not just "C:\Program Files (x86)\Git\bin\bash.exe" -login -i - H:\Daily_Reports\yesterdayTogglReport.sh ?.My git version must be 圆4, as I didn't need to specify (x86) in the path.I know this is just a gist and not detailed how-to tutorial, but.
0 Comments
Leave a Reply. |