delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/26/10:05:22

From: djw AT sage1 DOT sagecorp DOT com (Darren Whittaker)
Subject: cygwin.dll bug
26 Jun 1997 10:05:22 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.SOL.3.93.970626094628.14180A-100000.cygnus.gnu-win32@sage1.sagecorp.com>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
Original-cc: dhills AT icentral DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi,
  I would like to report a bug in cygwin.dll. I have a small program in
which the last thing it does is to use the system() call. When this
program is run under bash it works just fine, but when I run it under the
NT command line or as a cgi under IIS it fails, leaving the program
started by the system() call forever looping generating a stack trace.
This worked fine until I upgrade to b18, which I noticed changed system(). 

  In trying to debug the problem it appears that the parent is being told
by system() that everything completed okay so my program terminates but
the background program is still trying to run! If I place a sleep() after
the system() call then my program works.
 
  This program is for a WEB project and needs to work, I would appreciate
any help that you can give me. I know that this is an "unsupported"
product and if I can help please let me know.

Thank you,
  Darren

------------------
Darren Whittaker
Senior Software Engineer
ICentral, Inc.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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