delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/28/12:11:00

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Joel Rubin <jmrubin AT nerdshack DOT com>
Subject: Calling Cygwin python from the "DOS" shell vs. from BASH
Date: Wed, 28 Mar 2007 12:47:09 -0400
Lines: 7
Message-ID: <gl6l03l4mo9mbrrn76jgo2lkr717aru502@entropy.org>
Mime-Version: 1.0
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

I notice that Python just exits when I call it from cmd.exe in XPSP2
but it works correctly if I call it from bash. Cygwin is in my path.

I tried gcc'ing a simple program which prints argv[0] and I didn't see
any difference in what it prints out when I call it from cmd.exe and
when it call it from bash.



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