This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Program repeatedly restarts when its console is closed
- From: Greg Chicares <gchicares at sbcglobal dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 06 Dec 2010 23:33:32 +0000
- Subject: Re: Program repeatedly restarts when its console is closed
- References: <alpine.WNT.2.00.1012062305080.2572@panamint>
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