Quote:
i've tried c:\cygwin\cygwin.bat script.sh
|
That doesn't work, see cygwin.bat:
Code:
@echo off
C:
chdir C:\\bin (yours probably says C:\\cygwin\\bin)
bash --login -i
It doesn't look at its arguments.
C:\cygwin\bin\bash script.sh should work (if it complains about missing dll's try adding C:\cygwin\bin to the PATH). Also note that the window will close when the script ends, so you should have a call to sleep, or read at the end to prevent the window from closing before you can see it.