delorie.com/archives/browse.cgi | search |
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 |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: EXEC |
Date: | Thu, 31 Mar 2005 10:20:33 -0800 |
Lines: | 44 |
Message-ID: | <424C3F71.20207@DeFaria.com> |
References: | <3710237378 DOT 20050331230813 AT mail DOT ru> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | farscape.lynx.com |
User-Agent: | Mozilla Thunderbird 1.0.2 (X11/20050317) |
In-Reply-To: | <3710237378.20050331230813@mail.ru> |
X-IsSubscribed: | yes |
Emile wrote: > 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??? When you use exec /bin/ls you are saying "Replace the currently executing program (your shell) with what follows". So then /bin/ls replaces /bin/bash and executes listing the contents of the current directory. Having finished its job /bin/ls also exits thus closing your window. This is working exactly as designed. > How can I fix it? You can't because it is working as it should be. > And how can I make all commands like > "ls -la", "cat" and others understanding(executabling) without "exec"??? Those commands should also be working, assuming you have /bin in your PATH environment variable. As Larry says, you should follow the instructions at http://cygwin.com/problems.html to make sure your environment is properly set up. > > P.S. excuse my English pls :) > > Reply to me ANYWAY > > mailto:emile85 AT mail DOT ru or > mailto:emile AT ok DOT kz -- There is one thing I would break up over and that is if she caught me with another woman. I wouldn't stand for that. - Steve Martin -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |