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.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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/

Reply via email to