X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <49FF0586.3010006@sbcglobal.net>
Date: Mon, 04 May 2009 15:11:02 +0000
From: Greg Chicares <gchicares@sbcglobal.net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [cygcheck] produces repeated output - 6 times!
References: <af075b00904280347s32e89d76ve23b61db6a1c6a8e@mail.gmail.com> <20090504082512.GA21324@calimero.vinschen.de> <297343D29C14AA4D822142893ABEAEF306570A42@srv1163ex1.flightsafety.com>
In-Reply-To: <297343D29C14AA4D822142893ABEAEF306570A42@srv1163ex1.flightsafety.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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 2009-05-04 14:44Z, Thrall, Bryan wrote:
> Corinna Vinschen wrote on Monday, May 04, 2009 3:25 AM:
>> On Apr 28 11:47, Julio Costa wrote:
>>> Bug in cygcheck? Or bug in user? :)
>> 
>> Bug in user as far as the position of the -v option is concerned.
> 
> I can reproduce it; some more details:
> 
> - 'cygcheck /bin/ash.exe -v' returns 127
> - it doesn't happen if run from cmd.exe
> - '/bin/ash.exe -v' from inside bash works just fine
> 
> Isn't there a feature of Cygwin where it tries 5 or 6 times to restart
> Windows apps (such as cygcheck) if they fail in a certain way? That
> could explain the repeated output (i.e. cygcheck is trying to do the
> documented 'cygcheck [PROGRAM] -v' thing but there's a bug), but my
> search fu wasn't able to bring up any results.

Search for 'proc_retry' in the User's Guide.

Try setting
  CYGWIN=proc_retry:1
to see whether that's what's happening in this case.

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

