"Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes: > On 03/03/2007, David Abrahams wrote: >> Brian Dessent <brian <at> dessent <dot> net> writes: > > and if so, >> launch it as "sh.exe -c python", using sh.exe in the same >> > > dir as the shortcut. This will invoke python through the shell, >> > > which will follow symlinks. >> >> Ja; except that that begs the question -- sh.exe could be a symlink, >> as it often is to bash. In fact it isn't even important for me to >> invoke python in that case; I just need to detect it and avoid it. > > No, 'sh.exe' won't be a symlink unless someone has made it so. 'setup.exe' > creates 'sh.exe' as a copy for exactly the reasons you found.
I realize that much, but someone could make it so. -- Dave Abrahams Boost Consulting www.boost-consulting.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/