delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/22/11:45:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040322114026.05c8e680@127.0.0.1>
X-Sender:
Date: Mon, 22 Mar 2004 11:42:37 -0500
To: "Benson Margulies" <bim2003 AT basistech DOT com>,
"Cygwin List" <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: RE: SetErrorMode
In-Reply-To: <E8CC5F35918C084F8DBF32A5161C4003285E0A@mailserver.basistec h.net>
References: <E8CC5F35918C084F8DBF32A5161C4003285E0A AT mailserver DOT basistech DOT net>
Mime-Version: 1.0

Sounds like it would be good if you could find a minimal test case that
reproduces the problem.

Larry

At 07:16 AM 3/22/2004, you wrote:
>Hmm. I have a Windows 'scheduled job'. It runs a zsh.exe script. It runs
>cygwin GNU make. Things that launch under there get hung with 'critical
>error' dialogs. Even when I add an extra layer of program that calls
>SetErrorMode and then CreateProcess outside the shell script.
>
>The most frequent offenders are Java programs, but I can't find any
>evidence that the Sun JVM calls SetErrorMode.
>
>-----Original Message-----
>From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com] 
>Sent: Sunday, March 21, 2004 9:56 PM
>To: Benson Margulies; cygwin AT cygwin DOT com
>Subject: Re: SetErrorMode
>
>
>At 12:52 PM 3/21/2004, you wrote:
>>I'm trying to run some builds under cygwin with SetErrorMode set to 
>>avoid Windows dialog boxes in the event of hard errors. I'm failing. I 
>>get dialog boxes. Is cygwin doing anything to call SetErrorMode and 
>>undo my efforts, or do I need to look elsewhere?
>
>
>You're a little short on details here but to answer your question, the
>code for the Cygwin DLL only makes one call to SetErrorMode() for
>SEM_FAILCRITICALERRORS.  
>
>HTH,
>
>
>--
>Larry Hall                              http://www.rfk.com
>RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>838 Washington Street                   (508) 893-9889 - FAX
>Holliston, MA 01746                     
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019