shell script under win-bash not working

January 13, 2011 at 04:47:38
Specs: Windows Vista
a shell script running under win-bash always terminates
when entering a built-in command of the win-bash.

Help desired, no more idea !


See More: shell script under win-bash not working

Report •

#1
January 22, 2011 at 10:09:50
To run a script containing shell-built-in statements (like case, if, while, for, ... , etc.)
under control of "win-bash" and windows, works perfect by executing as follows:

Start -> cmd
C:\users\<user>win-bash.exe shell_script.sh

This does NOT work:

Start -> cmd
C:\users\<user> win-bash.exe
bash$ shell_script.sh



Report •
Related Solutions


Ask Question