delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/06/18:40:50

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 <gchicares AT sbcglobal DOT net>
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: <alpine DOT WNT DOT 2 DOT 00 DOT 1012062305080 DOT 2572 AT panamint>
In-Reply-To: <alpine.WNT.2.00.1012062305080.2572@panamint>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 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

- Raw text -


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