very odd behavior of Cygwin python from CMD
David Abrahams
dave@boost-consulting.com
Mon Mar 5 13:45:00 GMT 2007
"Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com> 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/
More information about the Cygwin
mailing list