Hi Edward, Yeah, I forgot to mention that I tried scripting it in a batch file outside cygwin in much the same way as your script, and it ran for a day or two without fail. I can keep that going for longer just in case it fails less frequently, but I don't think it's a Windows / MSVCRT bug.
John On Apr 29, 2011, at 2:04 PM, Edward McGuire wrote: > On Fri, Apr 29, 2011 at 13:35, John Dong <jd...@apple.com> wrote: >> I've tried using a different shell (like dash), but it doesn't make a >> difference, leading me to suspect this to be a lower-level issue within the >> Cygwin DLL. > Have you tried it with the stock Windows command processor? Something > like this (untested) script? > > @echo off > :redo > rem c:\path\to\exiter.exe 0 > if errorlevel 1 exit /b %errorlevel% > echo %errorlevel% > goto:redo > > -- > 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 > -- 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