delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/01/05:02:21

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=CaAbVGdM5n3DpLbsqeXGOn5EULLxVJ7c1UGSbn02vjdZg6KTphm/a
PitSC1BF1Exv0T9tTPc78h8u+ZPy0jjZtvPhanfP6MobHwZ4L/Wra/9cFeB6NBvO
PSrdVrKMH8i40zFWZKFoB4sDNxSFBP5EHfbeqEjbuXP0ntoZhAAVRg=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=lpjNg82ULaMKFLgtNS8zR2yV6uE=; b=v1bgCfkv0+0pxLOhlWm48zBhPRrx
xHEHbT2hXKrMM0rt3lnpfp1biCVlibHevSh2QWttQuIwfHmy8GiG1Fvql90gFCrQ
2E83cf/SAjkA0rLikgrFfeJ7jcahtt3G7Wbo5ARybZtjs26ZpstExoFdfoDepgOt
hag2rcaz1/OLhVg=
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-Spam-SWARE-Status: No, score=-104.5 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=evidence
X-HELO: mout.kundenserver.de
Date: Thu, 1 Aug 2019 11:01:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Regression (last snapshot)
Message-ID: <20190801090129.GA24479@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <935d8ce5-fd5c-3010-4664-bb2dc9b7ca2f AT cornell DOT edu> <20190729084552 DOT GL11632 AT calimero DOT vinschen DOT de> <eea273ca-f190-c91a-7892-9407bfcf4326 AT cornell DOT edu> <20190729134700 DOT GO11632 AT calimero DOT vinschen DOT de> <ced2750a-0a52-1396-b6c1-f4228116bde7 AT cornell DOT edu> <20190729152327 DOT GQ11632 AT calimero DOT vinschen DOT de> <20190729154049 DOT GR11632 AT calimero DOT vinschen DOT de> <c5d01965-80b9-cece-54d2-f7462f84c0a2 AT cornell DOT edu> <8e57d4da-722d-1b9a-bd28-5f96ed182f6a AT cornell DOT edu> <0a09679b-1a0f-613b-04c8-1a63da8a00c2 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <0a09679b-1a0f-613b-04c8-1a63da8a00c2@cornell.edu>
User-Agent: Mutt/1.11.3 (2019-02-01)

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul 31 18:00, Ken Brown wrote:
> On 7/31/2019 11:53 AM, Ken Brown wrote:
> > On 7/29/2019 2:55 PM, Ken Brown wrote:
> >> Here's the error that I can reproduce easily in xterm:
> >>
> >> $ ls <(grep bash .bashrc)
> >> /dev/fd/63
> >> grep: write error: Broken pipe
> >>[...]
> > [...]
>=20
> OK, when xwin-xdg-menu launches an application, it creates two pipes and =
sets=20
> the application's stdout and stderr to the write ends of those pipes.  Fo=
r=20
> example, here's what I see when I launch mintty from xwin-xdg-menu:
>=20
> $ pgrep mintty
> 5375
>=20
> $ ls -l /proc/5375/fd
> total 0
> lrwxrwxrwx 1 kbrown None 0 2019-07-31 13:37 0 -> /dev/null
> lrwxrwxrwx 1 kbrown None 0 2019-07-31 13:37 1 -> pipe:[38654736160]
> lrwxrwxrwx 1 kbrown None 0 2019-07-31 13:37 2 -> pipe:[42949703456]
> lrwxrwxrwx 1 kbrown None 0 2019-07-31 13:37 3 -> /dev/ptmx
> lrwxrwxrwx 1 kbrown None 0 2019-07-31 13:37 4 -> /dev/windows
>=20
> These pipes are apparently used for logging.
>=20
> I don't see how this would explain my observations (grep reporting a brok=
en=20
> pipe), but it is at least a difference between a terminal started from=20
> xwin-xdg-menu and an "ordinary" terminal.
>=20
> Anyway, I don't see any evidence here of a Cygwin bug.

I'm glad to read that :)


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1CqmgACgkQ9TYGna5E
T6DBFg/+J49Dj/6IQVnJPUOvZ42X1NdNKmKI5J9y2JdS1lrokHwS3lLWpy92H9Ni
Ukn3SbqlkJOjbI5YUouopLQ1caxyl4fzfdex6Le3uiTkpqXSWsE/D8BKqwtg6HHZ
EMbjwbJ1EAaqF8dk05ETPnStK5Ed5KzEhgglRgKZ25ixs7REMYZoTG8ItQlOb4H7
bbRftgPU8GUWPw8xjxa6VMERDmGd9iAMZV0PJoivdugO5TVrxnWGi4pZQIgrcUFP
KsPLmKhvSOmt3194pjByEFid/jLfbjCmKjYoDupXS3K9V15pKpEWpIYBNfR7Magq
Y1aOJSY0WnHAYY3QcD8t2WtzBh1eXlqhHyxKdNeh/d2YCO1177qevbiVcZ9XqqHv
sLzR+3HVU/coUmtk9VeFbGPPNEVl1IXIlSJ/CiO5wApfEO8oheY8QnzcTVcq8B89
3QwpElWlWWd3Z7MeUpoDsBveE0vQxfkLCM6nM+VB4JdY1NdTi8mhGN7qd8vTBpR0
/qA1shoJkApyCBQ/DUzH2k60OQCgDz0n2H5H31gxemyDCXj6w/Dr2n51xJFKYrza
1t5qCASNiyPDI/bcmSv5zvoS7q15yGO4OY4ShaZ9YMNBoBfk5H0BE1/okZ2OwXQ8
au8ytaOGzv81UzyXPNx3Bk9pE2OnMe5eCccytq4dOMGS3ez1feI=
=QvuC
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--

- Raw text -


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