My program restarts six times under Cygwin when run under rxvt/xterm

Christopher Faylor
Wed May 16 19:17:00 GMT 2007

On Wed, May 16, 2007 at 03:13:07PM -0400, Christopher Faylor wrote:
>On Wed, May 16, 2007 at 11:57:30AM -0700, Alex Shturm wrote:
>>I agree there is a misunderstanding here.
>>Please see my original post - there I clearly say that I build this 
>>program in Visual Studio 2005, and not using gcc.
>SORRY.  I completely misread the "run this program under CYGWIN" as
>meaning that you recompiled using Cygwin's gcc even though that clearly
>is not what you meant.
>I don't have Visual Studio available to test this so I don't know if
>I'll be able to be of much help here.  I'll try the test case under
>mingw, however, as soon as I get to a computer where I can do that.
>Apologies again for wasting your time with my misreading of your

Actually, nevermind.  I know what the problem is.  Cygwin is
interpreting the exit value from your program as being indicative of a
hard failure and trying to rerun it as a result.  If you explicitly exit
with a value less than 65535 it should work better.


Unsubscribe info:
Problem reports:

More information about the Cygwin-xfree mailing list