X-Spam-Check-By: sourceware.org Date: Tue, 1 May 2007 09:39:51 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [Ping Python maintainer]: enhancement request Message-ID: <20070501133951.GB17841@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070501120623 DOT GA3824 AT tishler DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070501120623.GA3824@tishler.net> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, May 01, 2007 at 08:06:23AM -0400, Jason Tishler wrote: >On Sun, Apr 29, 2007 at 11:58:57PM +0100, Thorsten Kampe wrote: >> I just found out that in the standard Cygwin Python setup it is not >> possible to run the Python interpreter from a Win32 command shell. >> (You get an error about the NTVDM (NT Virtual DOS machine even when C: >> \cygwin\bin is in the path). > >The following works: > > C:\>bash -c python > Python 2.5 (r25:51908, Mar 13 2007, 08:13:14) > ... > >> The reason is that python.exe is a symbolic link to python2.5.exe. As >> the Python interpreter itself is only about 43 Kb in size I suggest >> copying the interpreter instead of symlinking (Zsh for instance does >> the same). > >OK. Should I copy or make a hard link? Before you do this, I have a question. Why is this important now when you've apparently been doing this for many years? This isn't the only package which makes symlinks to executables. And, since, AFAIK, setup.exe doesn't understand hard links it means that you really do have to make a copy. If you make a copy you stand the chance of having python.exe out of sync with the thing that it is supposed to be pointing to. If it was a general Cygwin policy to always make copies, I could see changing Python. But, again, since it isn't, I don't see why python should be unique. cgf -- 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/