This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Program repeatedly restarts when its console is closed


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]