delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/12/03:53:57

From: john AT exmachina DOT net (John Mullee)
Subject: Re: cygwin b20 bash path usage?
12 Nov 1998 03:53:57 -0800 :
Message-ID: <3.0.3.16.19981111153538.18ff6f0e.cygnus.gnu-win32@exmachina.net>
References: <3647A87A DOT AE660CB7 AT ix DOT netcom DOT com>
Mime-Version: 1.0
To: William D Kirby <wdkirby AT ix DOT netcom DOT com>, gnu-win32 AT cygnus DOT com

At 21:44 1998-11-09 -0500, you wrote:
>I made the mistake of creating and trying to use an exectable named
>test.exe. under bash v2.02 in the cygwin beta 20 package. Nothing
>happened when it executed. I suspect that bash was executing the program
>test.exe in the cygwin-b20\bin directory rather my test.exe in the
>directory I was using.
>
>Is this proper behavior in bash? I assumed the directory being worked in
>was searched first then along the PATH directory list.

This seems to suggest that your path contains "." after
/cygnus/cygwin-b20/H-i586-cygwin32/bin

try ./test.exe or change your path to:

--8<-- cygnus.bat
set PATH=.;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;%PATH%;
--8<--

John
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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