Newbie Questions
Andrey Repin
anrdaemon@yandex.ru
Thu Feb 6 08:20:00 GMT 2014
Greetings, Warren Young!
>> [C:\home\Daemon]$ bash -c ./foo.sh
> That's not the same command I gave you. -c changes how bash.exe
> interprets the following parameter.
According to `man bash', that's the correct command to execute scripts with
bash.
> It matters, because when you right-click a *.sh file in Windows
> Explorer, say Open With, then tell Explorer to use bash.exe to open such
> files now and in the future, it isn't going to stick -c in the command
> for you.
> If you did change the file association in the registry, adding -c, that
> still isn't going to help because Windows Explorer is going to pass the
> full Windows-style path to bash.exe in place of the %1. Plus you still
> have the PATH issues I brought up in my previous email.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 06.02.2014, <12:13>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list