delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/30/23:40:44

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:in-reply-to:references
:message-id; q=dns; s=default; b=UpiJ+1dl4FleSzz8v50APiijY3fDTf+
9vVX7wlFAhaHyjkDiqDflSoDCdUVFm1bkzsJPoqN3IKTBe2iz9J2lSDg9V/PqV9D
yfqmH83zu9bHe3Q/+0myZbicWFGsl9f2+2eUirGJxo0yYgWa4xKqbPH0u0aJ5ax8
q5U+hfkneifQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:in-reply-to:references
:message-id; s=default; bh=NlNXbvqZlSbkIAJcTstbaxUg5KM=; b=tKoZP
j+8hOkst38jYQW15/fqV1G4w1QZIajd02rZrXpGmZ69JcDc/qLX2LWNCr2p7IN3h
3gB+ywTwlgGXprmOtaIUTApFoznSj/UAGHg6688iaRLi1yyh4DIW/mCLvnCp2DUP
VkhgQhLvS0xWyyIZCdFmWNwAtP+Mdt8/IK74vU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=invisible, 29062016, 29.06.2016, worker
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=UoshDK4B c=1 sm=1 tr=0 a=WiYoHcCliNeVponEdG0Ckg==:117 a=WiYoHcCliNeVponEdG0Ckg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=pD_ry4oyNxEA:10 a=Sw9DBDd6BkMAsjjF33MA:9
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Use of spawnvp function makes console window appear.
X-PHP-Originating-Script: 501:rcmail.php
MIME-Version: 1.0
Date: Thu, 30 Jun 2016 20:38:04 -0700
From: Kaz Kylheku <kaz AT kylheku DOT com>
In-Reply-To: <65d07c575914c634ad9145d25005223a@mail.kylheku.com>
References: <65d07c575914c634ad9145d25005223a AT mail DOT kylheku DOT com>
Message-ID: <322d75d40a801c815572887971a85781@mail.kylheku.com>
X-Sender: kaz AT kylheku DOT com
User-Agent: Roundcube Webmail/0.9.2
X-CMAE-Envelope: MS4wfAGYctVc7KEIIB0RFfIIuWXT6Cq1lCwlD2fbLYqd+R7+ot7YBH8rNDgX+JeFc+yx/FipftsfPdaKQgo+N5p2uiwzUy1mzPtwHtdy+YWZnQhdqL0XJv13 vn0gHt1PFUc7ZcVuyZcsehqHn3ndMIab9/mOpLZJ4WKwvdflA+gb/HAd
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u613efb0031652

On 29.06.2016 15:28, Kaz Kylheku wrote:
> Hi all,
> 
> I've encountered a strange behavior. When a Cygwin C application that 
> is
> compiled with "-mwindows" tries to spawn another program, that 
> application
> suddenly gets a console window!

I tracked this down to the fhandler_console::need_invisible() call in
child_info_spawn::worker().

Whatever that is supposed to do is not working properly because
the invisible window is perfectly visible.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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