From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de-smtp-delivery-103.mimecast.com (de-smtp-delivery-103.mimecast.com [194.104.109.103]) by sourceware.org (Postfix) with ESMTPS id A30323858D33 for ; Fri, 5 May 2023 01:31:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A30323858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=vector.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vector.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vector.com; s=mimecast20200527; t=1683250289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=04H3TpBaZXyMtfrhpDIs8HCUpiS5nzGS0A+y77F1teg=; b=YxJsJOyOprlJNRZv0ABKXP6BlVKOfc40AZHNGpdf/hZBoTsuA6rETObdFp7iHHedl4NPxl ehSh4DfGJDY3wxBDjmyPUnuyxQ6fyf68KQQckXI94PqOExcoqKh8dcVKfTkZhKsE0LfUYk +cbHpSZgRhYGkyMIjeRo36exBD+tb9A= Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2172.outbound.protection.outlook.com [104.47.17.172]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-23-JDxwPGktMbu_6nvEvLLMUw-1; Fri, 05 May 2023 03:31:28 +0200 X-MC-Unique: JDxwPGktMbu_6nvEvLLMUw-1 Received: from DB7PR01MB4762.eurprd01.prod.exchangelabs.com (2603:10a6:10:64::16) by AS4PR01MB9957.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4f4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.26; Fri, 5 May 2023 01:31:26 +0000 Received: from DB7PR01MB4762.eurprd01.prod.exchangelabs.com ([fe80::bc8e:52fe:4250:ec61]) by DB7PR01MB4762.eurprd01.prod.exchangelabs.com ([fe80::bc8e:52fe:4250:ec61%6]) with mapi id 15.20.6363.022; Fri, 5 May 2023 01:31:26 +0000 From: "Kacvinsky, Tom" To: "cygwin-developers@cygwin.com" Subject: RE: stdin, stdout, stderr when GUI app is launched from command line Thread-Topic: stdin, stdout, stderr when GUI app is launched from command line Thread-Index: Adl+mN8EzIz1yrnwTPOkLNbw15M1wgALeyqAAAphynA= Date: Fri, 5 May 2023 01:31:26 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB7PR01MB4762:EE_|AS4PR01MB9957:EE_ x-ms-office365-filtering-correlation-id: cdf8c1f4-6823-46cb-2ff3-08db4d0871b3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: uV0X2vjRXTIe2V1lNrXJjW4PxLmsy+dLuAG/E6/e3wKm0LXJS0KN3b/g9rbtedmvDm4VK63lOl4uc8sNnpc/bFstHkKLy7oNWoVDn4nJM026H9HAH+nw3ss/WBsqrRlDjCabFhYXIqzgPKW5kGeiGV65uQA//tWClQcSYQMRO1jfshG4rr9q40sswKsV61Neh3n4wlWfumzyxjQPsqYUjNy8C6lKTsAoXOoTKHsSNiKNiLrsNisrjhEggt3/iESUeAWx00LVamHK2Cu/oCe26SwFi+dcR+So7zkZW5n0joKbbDZI5sxrXRNjoVGbPYscTPPiQdCoo5bEBkZrVPVs1j0goZjypfArKVoUnphzy11+W1hScYJOgOUEcYTID2KHqPvwlEh9hJT51vk45cgnfJpiUv4WMj4wBYnF+F3c+TwwcAf9NDFShcdV/u9BsRVd21AVbFhz3tJ+r7eBX/gspXF0EnrxJ4dmAcrjz3MokU+BxQ6pet+Og+g0tjJDnMziwIizhz2+ylr52iqGgJGuyrYPPLfyPggCGmtG+X82bzpIDyA1tGYVOQIKjbEW7h7FsxrdfkzH3GZaasQmLyjgr+2Wg792zQ/9yGsJWHsv2wU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR01MB4762.eurprd01.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(346002)(366004)(396003)(39860400002)(451199021)(26005)(6506007)(53546011)(9686003)(38070700005)(186003)(8936002)(966005)(66946007)(8676002)(2906002)(33656002)(4744005)(316002)(41300700001)(83380400001)(71200400001)(66476007)(52536014)(66446008)(38100700002)(76116006)(6916009)(86362001)(55016003)(66556008)(478600001)(5660300002)(7696005)(64756008)(122000001);DIR:OUT;SFP:1101 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3wrzHus52yqlbm2KscrQBQMrfOVql18HQL/pqx4hqNtmFrHZ/o4CHS+pZ5Gm?= =?us-ascii?Q?JrJuxX3AQv/BGq8hJOpo4BbcBDsCb1yfYtVEDQKf5sHBtPcqq3F2wQCuHlA7?= =?us-ascii?Q?Xi19aZtIcjcYw3q+cz7mO2sawTytoQvGwqPTnMMa6QzpKtPW7sbVypOi5inx?= =?us-ascii?Q?Ux6sTfAaMoXwvLWjjtHX+yQGdCFzvKAnVJUVN+UP5eDkYLqgMFrNBzotPnW3?= =?us-ascii?Q?fpfhcRCZ+0J1NudvrLdAIrJYHVJW44INRUWaZ8YjqmGPt3jaJuHt9W0zr48E?= =?us-ascii?Q?86eY2RAFU3LX050/EewaZJ3F0vaWVTZ9TuOaPHZrqci/i1N4hdeHG6YHUR+g?= =?us-ascii?Q?eTEO8kn8py1pb5db/6eroDhfO9pSlpVFrAjfGw++w5CICmKdaRYJUJXuPRjR?= =?us-ascii?Q?m9QJt4WIipPF3YuCL7F2UiKlPXk0qAGhkG6DCvhMNviAAQC1ZLESKyghBP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j3tn/5VmUANcsFtV3mhnCzeBy+TVFV?= =?us-ascii?Q?xA+xcWkC0qY9+iqkc0sHVwMYFKHTVYWmxbQsQNCndiSQ1YS2C5p+hAZnkyhJ?= =?us-ascii?Q?H1AUpAaCtAXujo9zMys0QXgrALUPs4yIb4V4HPDr4NqpsNOIw+R/waCMwuj0?= =?us-ascii?Q?XLFIFf++xt1pM/fncrqtXGehg9Ryzunj+uQvIJBoQ4aO97GSPgXh+1GUrc6w?= =?us-ascii?Q?yi3YemOi3UiE1CGfeR+JvvPT+ubLk9e2ZPIf3bqZ?= MIME-Version: 1.0 X-OriginatorOrg: vector.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7PR01MB4762.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdf8c1f4-6823-46cb-2ff3-08db4d0871b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2023 01:31:26.5300 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c844b2b9-7a68-473f-b386-e2e1b968279d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4tLWLAE57PEr4zV03tDWeWx3GcPCpxFZ/USpqxwwEc5N64BOWJWNC3jROU1TE47wy7OlvXe4m02slS3OWshmjNbIiNqBxkuBS8F/LmN6OIY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR01MB9957 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: vector.com Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > -----Original Message----- > From: Jeremy Drake > Sent: Thursday, May 4, 2023 4:27 PM > To: Kacvinsky, Tom > Cc: cygwin-developers@cygwin.com > Subject: Re: stdin, stdout, stderr when GUI app is launched from command > line >=20 > [You don't often get email from cygwin@jdrake.com. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] >=20 > I remember that a python launcher (which is included in distlib, which is > included in pip) experienced a similar situation. There was a detailed > discussion of debugging what was happening on one of those projects, > maybe that can give you an idea where to start searching. I think you're referring to this issue https://github.com/pypa/distlib/issues/168 We embed Python in our product, so maybe the issue is with that. I'm nor certain of that, though. But thanks for the pointer. Tom