This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Console Window pops up for sh.exe in 1.5.19


-----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.Wilken@osc-es.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]