delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/13/14:31:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 13 Nov 2009 14:31:19 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [OT] Re: No output on stdout
Message-ID: <20091113193119.GA19407@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <690f5ac90911121201m6def763eg18f6eed95edb9588 AT mail DOT gmail DOT com> <20091112215138 DOT GA22412 AT ednor DOT casa DOT cgf DOT cx> <690f5ac90911121354v45bc0f90rd10eeba842b866ba AT mail DOT gmail DOT com> <690f5ac90911121521o508c1222m831b22b6a087b620 AT mail DOT gmail DOT com> <4AFCA27F DOT 6070309 AT gmail DOT com> <690f5ac90911131129r42df58b0k3af7d2fced63ad69 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <690f5ac90911131129r42df58b0k3af7d2fced63ad69@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Fri, Nov 13, 2009 at 08:29:08PM +0100, Federico Hernandez wrote:
>> ?Also, you can check exit status from the shell by running "echo $?" after
>> the command, which is a bit less trouble than using the debugger. ?The "$?"
>> shell variable gets set to the status of the last command executed. ?(This is
>> generic shell stuff, not cygwin-specific.)
>
>Of course. Why do I forget the basic stuff - back to the roots keeping
>it simple.

And, btw, in Cygwin 1.7 you will get an error rather than a silent exit.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019