Greetings, cyg Simple! >>> On 8/27/2016 1:44 PM, Andrey Repin wrote: >>>> Greetings, Christian Franke! >>>> >>>>> Andrey Repin wrote: >>>>>>> Hmm... therefore it is also better to change the last line to: >>>>>>> .\bash --login -i >>>>>> "%~dp0bin\bash.exe" --login -i >>>> >>>>> Changing the directory before bash is run is a security measure because >>>>> the current directory may be in DLL search path. >>>> >>>> And? >>>> >>>>> I guess this is one reason why the cygwin.bat file created by setup.exe >>>>> also >>>>> does this. >>>> >>>> I'm starting an application by its full path. >>>> >>>> >> >>> So... It doesn't make it any more correct than Christian's method which >>> is what I prefer. IIRC older versions of Windows required the change >>> directory to execute Cygwin properly. >> >> How much "older"? Win'95? It is no longer supported. >>
> It doesn't matter how old; it matters as a reason for the way it was > written in the first place. It gives one pause as to making such a > change since it might not work in all cases where the change directory does. I did made that pause. And I considered OS without cmd.exe not worth consideration. -- With best regards, Andrey Repin Tuesday, August 30, 2016 23:40:08 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