delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/22/11:40:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BD43DE9.9060205@ece.gatech.edu>
Date: Mon, 22 Oct 2001 11:40:25 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: Pavel Tsekov <ptsekov AT syntrex DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: more info on execvp problem
References: <3BD3EA44 DOT FF96A58A AT syntrex DOT com> <20011022112817 DOT C7609 AT redhat DOT com> <3BD43CF4 DOT 2611ABC3 AT syntrex DOT com>


Pavel Tsekov wrote:


> I was sure there will be a response like this - in short since as we
> both
> agree is posix internally (if noone messed with it) - you get this as
> result
> of getenv("PATH"):
> 
> c:/jdk1.3.1/bin:/usr/local/bin:...:c:/usr/local/emacs/bin


Listen carefully: as Chris has already pointed out, that is NOT a posix 
path.  THIS is a posix path:

/cygdrive/c/jdk1.3.1/bin:/usr/local/bin:...:/cygdrive/c/usr/local/emacs/bin

Or, if you have mounted C:\ as /c (like I do on my boxes):

/c/jdk1.3.3/bin:/usr/local/bin:...:/c/usr/local/emacs/bin

See?  There are NO ':' characters EXCEPT the path delimiters in a POSIX 
PATH variable.

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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