From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32645 invoked by alias); 21 Feb 2004 00:33:18 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32629 invoked from network); 21 Feb 2004 00:33:17 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 21 Feb 2004 00:33:17 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AuL52-0005yu-00 for ; Sat, 21 Feb 2004 01:33:16 +0100 Received: from isi-dialin-129-60.isionline-dialin.de ([195.158.129.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 00:33:16 2004 Received: from thorsten by isi-dialin-129-60.isionline-dialin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 00:33:16 2004 To: cygwin@cygwin.com From: Thorsten Kampe Subject: Re: python and cygwin Date: Sat, 21 Feb 2004 01:25:00 -0000 Message-ID: <1amf6c54ignfm.dlg@thorstenkampe.de> References: <40369000.3B3EE444@dessent.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: isi-dialin-129-60.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de X-SW-Source: 2004-02/txt/msg01133.txt.bz2 * Totte Karlsson (2004-02-21 00:29 +0100) > OK, I see, However, it seems as if I can execute the win32 python > interpreter from within the cygwin bash shell, and it seems to work > as long the cygwin path come into play, which is "unfortunate". > > I thought the idea with cygwin was to provide unix tools working > under windows, Exactly. That's why you need the python binary for Cygwin. > not to make windows into unix/posix? I hope at least you know what you mean by that. > Now it looks as if I need to have two sets of python running, one > for cygwin and one for windows, In fact you don't, as long as you translate Posix paths to Windows (via "cygpath -w"). Many Cygwin utilities also understand Windows paths ("cd 'C:\', "cd C:/", etc). > and both are running in windows! No, one runs in Windows and the other one under Cygwin. You can always run the Cygwin binaries from Windows (ls, d, etc. work for me in a Windows cmd.exe console window). Many Windows binaries work *directly* in Cygwin bash or zsh (also much slower, so it's wise to execute them in a cmd subshell). Thorsten -- 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/