www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/03/22:20:13

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
Message-ID: <42F17CCB.30008@yahoo.com>
Date: Wed, 03 Aug 2005 22:26:19 -0400
From: Manuel Soto <mrsoto AT yahoo DOT com>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with exec and some suggestions
References: <00a701c5983d$e63cd2e0$0303a8c0 AT wanadoo DOT adsl>
In-Reply-To: <00a701c5983d$e63cd2e0$0303a8c0@wanadoo.adsl>
X-IsSubscribed: yes

Gansta93 wrote:

> Hello,
>
> I am new user of Cygwin and a beginer on Linux.
> I have downloaded all Cygwin packages today. The problem is when I
> type exec And the executable name and parameters I want to pass to
> it, the consol window close and I can't see the result of my command.
> Why can't I type dirrectly the name of the executable? Else what can
> I do for stop closing the consol when using exec? I am on Windows 98.
> What can I do?
> And two suggestions: an uninstaller would be good and a confirmation
> after clicking on cancel button would be better than closing directly
> the installation window.
> Excuse me for my English, I am french.
>
> Best regards,
>
> Patrick
>
In W$ and DOS you have "." as default PATH, in unix/linux you have to
add "." to the PATH or exec the program as

./program arguments

exec replace the current process w/new one and works as you experiment
if the console is replaced.

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