X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 13 Nov 2009 14:31:19 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [OT] Re: No output on stdout
Message-ID: <20091113193119.GA19407@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <690f5ac90911121201m6def763eg18f6eed95edb9588@mail.gmail.com>  <20091112215138.GA22412@ednor.casa.cgf.cx>  <690f5ac90911121354v45bc0f90rd10eeba842b866ba@mail.gmail.com>  <690f5ac90911121521o508c1222m831b22b6a087b620@mail.gmail.com>  <4AFCA27F.6070309@gmail.com>  <690f5ac90911131129r42df58b0k3af7d2fced63ad69@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <690f5ac90911131129r42df58b0k3af7d2fced63ad69@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

