Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/