delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/11/12:46:37

X-Spam-Check-By: sourceware.org
Message-ID: <443BDD74.8000301@vpi.biz>
Date: Tue, 11 Apr 2006 10:46:44 -0600
From: Paul <paul1 AT vpi DOT biz>
User-Agent: Thunderbird 1.4 (Windows/20050908)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Console Window pops up for sh.exe in 1.5.19
References: <4428EAA6 DOT 7020106 AT osc-es DOT de>
In-Reply-To: <4428EAA6.7020106@osc-es.de>
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

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/

- Raw text -


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