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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=V3EqlKc 8YNs4PK0f8R7L5DhEBGkMnBuJ/he4DZc+xOemdTJnT+GkUg2rtuFcj3pGb4XYuXW aKd++Jueaj5dtqpCPxUESziHXzHJY0gVZT/FtzSiJqkE2tyN2Nfog94fa3mn2zYB y/uIqlZohinZ5mdwYBxerHwrhLJibHZtVGKw= 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=yMLMrvkjtW+5U 3SOq+EyU76kpdY=; b=VgvixyOJCGcZOF60pagYbuBHAjJ0dvD6kDI0E+6ehhBX+ 77L0z2ka7F3RtVZGEDcwbPM1+jCQRZvBm+bDYrJo+cpaFXin+4Fu2+EMKk66Bvfz TzRHFfKAO8n/qzIt1ShH6tIw+wCniGdtLNQxmzcsRBtPRLzxZwHZ/XQ5sc1B8o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=store!, ideas, edward, www.cygwin.com X-HELO: mail-ed1-f46.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vlMCqy/698paTSywMyY6Ke19Y9lDGNcyNnDzjdISZBU=; b=T/BA+vVUogS9RGljrZ9PAPLlhwtEAmx2CZZ+HmJArNTWs2c+b+cPnUdXg4Rblh0X+D ENAkcay0GK0Fr6NNibNuYf1xderpjhY3Jj/LeRWUAjA3KruidJJwwOswYp8N+6+6bYxY 3M1YtE0mTnY77XC0zy2qRDta8mrE4AB9zzLwd/PaZMFDNDa1vVoCwLkPeOouGjrBCiRD eZh6FBsUpwGSWINoIs2eCSRew1dCXfObG5Wko9C4WDeJGCPkxjWRJQJ8ZwPTQ1dGMbUM +PtZo8RoCiEifAbiQLWfnCI4cM6RRH3Fl+YnnxjbBdBKXpwa3yjQ/InuLL8T/iH9Q5Zn VPuA== MIME-Version: 1.0 References: <20200131072536 DOT da46ccf9cb52b1afdefa2a9a AT nifty DOT ne DOT jp> In-Reply-To: From: Edward Lam Date: Tue, 18 Feb 2020 14:24:38 -0500 Message-ID: Subject: Re: Pipes bug when spawning non-cygwin processes To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Hi Folks, I'm noticing a different problem with pipes that isn't fixed even in the latest 2020-02-12 cygwin1.dll snapshot. When a native graphical Windows process is launched (in the foreground without & in the command line) from mintty/bash, the STARTUPINFO structure for the child Windows process correctly has the STARTF_USESTDHANDLES bit set into info.dwFlags BUT both info.hStdInput and info.hStdOutput handles are 0, only info.hStdError is assigned to a handle. So in the older cygwin versions, this application's printf() calls go out to the shell as desired but not anymore. Any ideas? -Edward On Fri, Jan 31, 2020 at 1:25 AM Edward Lam wrote: > On Thu, Jan 30, 2020 at 5:25 PM Takashi Yano > wrote: > >> Probably, this is the same issue as >> https://www.cygwin.com/ml/cygwin/2020-01/msg00093.html. >> >> Please try latest cygwin snapshot. >> https://cygwin.com/snapshots/ >> >> > Indeed, this works again after 20202401 snapshot! > > Thanks, > -Edward > -- Support GOToronto by rating us in the App Store! -- 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