Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: EXEC /bin/command.exe
Date: Wed, 20 Apr 2005 18:33:55 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <1314732120.20050331230711@ok.kz>
Message-ID: <SERRANOiFW6pimfhSdh00000068@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 20 Apr 2005 17:33:59.0083 (UTC) FILETIME=[229787B0:01C545CF]

----Original Message----
>From: Emile
>Sent: 31 March 2005 18:07

> Hi!
> 
> I've a problem during cygwin use.
> 
> CommandS "ls","d" or "dir"(oTherS .exe file)  and "exec ls","exec d"
> (oTherS .exe files in /bin)are not understanding.
> 
> And when I try to run some command using:
> "exec /bin/ls" (For example) command prompt
> exiting! Why does it exit???

  Because you used exec.  That's what exec is for.

> How can I fix it?

  Don't use exec.

> And how can I make all commands like
> "ls -la", "cat" and others understanding(executabling) without "exec"???

  Sort your $PATH out.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

