www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/03/11:23:24

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: <42F0E15C.2060709@opnet.com>
Date: Wed, 03 Aug 2005 17:23:08 +0200
From: Stein Somers <ssomers AT opnet DOT com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
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:

>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.
>  
>
That's exactly what exec is for: transfer all control to the program you 
specified. When it ends, everything ends: the command shell and the 
window it lives in.

Just leave out the exec prefix.

Stein

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