delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/28/02:50:20

X-Spam-Check-By: sourceware.org
Message-ID: <4428EAA6.7020106@osc-es.de>
Date: Tue, 28 Mar 2006 09:49:58 +0200
From: Jens Wilken <Jens DOT Wilken AT osc-es DOT de>
Reply-To: Jens DOT Wilken AT osc-es DOT de
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: Cygwin MailList <cygwin AT cygwin DOT com>
Subject: Console Window pops up for sh.exe in 1.5.19
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi there,
I have a problem that appeared when switching from Cygwin 1.5.10 to
1.5.19.
Some GUI Application uses the "system" function to execute external
programs. It calls several programs, including "make". Make processes
makefiles that contain program calls and shell scripts, encoded in the
makefile like "( -- Scriptcode -- )".
The effect:
I started the application, compiled with Cygwin 1.5.10., gcc3.3.3,
with Cygwin 1.5.19 and suddenly black console windows keep coming up.
The title shows, that the windows belong to sh.exe. They stay black
and when the process finishes, the window disappears. At the start of
the main application, stdout and stderr handles are reopened to a
log-file, so I understand why the windows stay black, because the
logfile is filled ok.
The console windows do not show up when the same binary is started
with cygwin 1.5.10, so there has to be a change between 1.5.10 and
1.5.19, but I have no clue. I makes no difference, when I copy old
make and sh binaries to the 1.5.19 installation, so I think it is
related to the Cygwin DLL.
The cygwin release notes state a change from Corinna, where she is
"trying hard to prevent black boxes to appear". This sounds like my
problem, partly solved.

So I'd be glad for any hint how to get rid of these windows or just
why they started to appear in a newer version.


Regards,
Jens

- --
- ----
Dipl. Inform. Jens Wilken
Software Developer
OSC Embedded Systems AG
Industriestr. 11
26121 Oldenburg - Germany

Mail: Jens DOT Wilken AT osc-es DOT de
Tel.: +49-441-350 42-0
Fax.: +49-441-350 42-364

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFEKOql/nbz2tIAgUQRAltwAJ9LevkWKMGZ/Hz/JMz/kuVdfEOiZwCeM8qL
zgaR6YNh8rrd/HHgT0k+bfM=
=Dg/g
-----END PGP SIGNATURE-----



--
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