Console Window pops up for sh.exe in 1.5.19

Paul paul1@vpi.biz
Tue Apr 11 17:45:00 GMT 2006


Jens Wilken wrote:
> Some GUI Application uses the "system" function to execute external
> programs. It calls several programs, including "make".
...
> 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.

I had this same problem with FTE. I modified the FTE source code to add 
CREATE_NO_WINDOW to the CreateProcess calls, and that took care of it.


Paul

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



More information about the Cygwin mailing list