From: John Dong <jdong@apple.com>
To: Edward McGuire <cygwin.com@metaed.com>
Cc: cygwin@cygwin.com
Subject: Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong
Date: Sat, 30 Apr 2011 13:23:00 -0000 [thread overview]
Message-ID: <9A09C2C2-3688-4840-85D2-B2F18290AE8F@apple.com> (raw)
In-Reply-To: <BANLkTinC3GyrJDxj6V8tBExVfvTvsrxmqA@mail.gmail.com>
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 <jdong@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
next prev parent reply other threads:[~2011-04-30 0:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 20:01 John Dong
2011-04-30 11:30 ` Edward McGuire
2011-04-30 13:23 ` John Dong [this message]
2011-05-02 17:18 ` John Dong
2011-05-10 17:22 ` John Dong
2011-05-25 14:16 ` Edward Lam
2011-05-25 14:20 ` Christopher Faylor
2011-05-26 2:20 ` John Dong
2011-05-26 5:47 ` Christopher Faylor
2011-05-26 6:02 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9A09C2C2-3688-4840-85D2-B2F18290AE8F@apple.com \
--to=jdong@apple.com \
--cc=cygwin.com@metaed.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).