delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/12/14:36:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <40CB4D07.C41FA7B8@hot.pl>
Date: Sat, 12 Jun 2004 20:35:51 +0200
From: Jacek Trzmiel <sc0rp AT hot DOT pl>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sys.executable broken under 2.3.4
References: <200406121533 DOT i5CFX0DT015038 AT mx1 DOT cs DOT umb DOT edu>
X-IsSubscribed: yes

"John P. Rouillard" wrote:
> When running python -c "import sys; print sys.executable" it prints
> the current working directory rather than the path to python unless
> I invoke python with the full path.
> 
> I can't reproduce this on a win 98 box, but on a windows 2k sp4 things
> are broken.
> 
> Can anybody reproduce this?

Works for me:

$ pwd
/home/sc0rp
$ python -c "import sys; print sys.executable"
/usr/bin/python

$ python -V
Python 2.3.3
$ uname -a
CYGWIN_NT-5.0 sc0rp 1.5.10s(0.116/4/2) 20040530 22:57:25 i686 unknown
unknown Cygwin

Win2kSP4 + updates.

Greetings,
Jacek.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019