X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw Message-ID: <4CFD72CC.4050508@sbcglobal.net> Date: Mon, 06 Dec 2010 23:33:32 +0000 From: Greg Chicares User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Program repeatedly restarts when its console is closed References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 2010-12-06 23:07Z, Arthur Norman wrote: [...] > It is not clear to me whether this is an issue of the mingw bits not > handling things and exiting badly or of the cygwin execv behaving > improperly. Eg it I write a very short program that goes basically > execv("./bad0",...) and compile that using cygwin but then run that > executable from a normal DOS shell I get the hydra-like behaviour where > when I cut of a console a fresh one instantly re-grows Try: set CYGWIN=proc_retry:1 as suggested here: http://sourceware.org/ml/cygwin/2008-03/msg00595.html Reference: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html -- 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