This is the mail archive of the
mailing list for the Cygwin project.
Console Window pops up for sh.exe in 1.5.19
- From: Jens Wilken <Jens dot Wilken at osc-es dot de>
- To: Cygwin MailList <cygwin at cygwin dot com>
- Date: Tue, 28 Mar 2006 09:49:58 +0200
- Subject: Console Window pops up for sh.exe in 1.5.19
- Reply-to: Jens dot Wilken at osc-es dot de
-----BEGIN PGP SIGNED MESSAGE-----
I have a problem that appeared when switching from Cygwin 1.5.10 to
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 -- )".
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.
Dipl. Inform. Jens Wilken
OSC Embedded Systems AG
26121 Oldenburg - Germany
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
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html