Program repeatedly restarts when its console is closed
Greg Chicares
gchicares@sbcglobal.net
Mon Dec 6 23:40:00 GMT 2010
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
More information about the Cygwin
mailing list