| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | David Abrahams <dave AT boost-consulting DOT com> |
| Subject: | Re: very odd behavior of Cygwin python from CMD |
| Date: | Mon, 05 Mar 2007 08:44:37 -0500 |
| Lines: | 21 |
| Message-ID: | <87fy8jg5yy.fsf@valverde.peloton> |
| References: | <87d53qhxk4 DOT fsf AT valverde DOT peloton> <877itxiu6k DOT fsf AT valverde DOT peloton> <45EA3ABD DOT 4E45BDC5 AT dessent DOT net> <87wt1xhb6j DOT fsf AT valverde DOT peloton> <45EB2605 DOT 9040101 AT cygwin DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
"Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |