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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/