From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible. Date: Tue, 25 Jan 2022 15:47:56 +0200 Message-ID: <83ee4whqpf.fsf@gnu.org> References: <7CFD5E28-8266-4004-BF66-255146D72722@gnu.org> <83r18whunp.fsf@gnu.org> <36bbd45c-0a87-13b7-1589-afe943329e20@fastmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: p.stephani2@gmail.com, alan@idiocy.org, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Saulius Menkevicius Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 25 15:39:26 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCMyk-00097Q-D4 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 15:39:26 +0100 Original-Received: from localhost ([::1]:52732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCMyi-0007w2-Vn for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 09:39:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCMBG-0001kd-Bv for emacs-devel@gnu.org; Tue, 25 Jan 2022 08:48:19 -0500 Original-Received: from [2001:470:142:3::e] (port=34832 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCMBE-0001EQ-0w; Tue, 25 Jan 2022 08:48:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/45ID1fGUku+Q1q2JSRQfxoUZR+P6933Xi5qjC3j0GU=; b=UX5NaxkT7lQC +W2BJAWiIeTNIaWK2jZfLMf3fp4E1egfIWaMWkHZtdt2r16TzllqYy1vlNMfHbJWitwagrRZ4ZJvA G7F1TygTNcGwnV1vI7I4yRqubsiHL7vDZvpTBrjKsUMcvLSzelmtijnYve5B0puhmiRvS3GkpPAEj lMm7y03s/yrt7GTbI+F6t16Jy+NHtHVdLTuI+xXW/Jsgx8BRNxfUsaRoHn72u+8xVEEbjRI1xsUV5 19/mKPNssTc9l0+FHafCGt4xKJPwMgwAVa1tlD7eHjGozk+pQ0Hii9lk+nfhJwDILKjnKK39/zwB+ UdbjnypEUfbDFyLD3CID7w==; Original-Received: from [87.69.77.57] (port=1998 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCMB5-0003Yt-Uf; Tue, 25 Jan 2022 08:48:15 -0500 In-Reply-To: <36bbd45c-0a87-13b7-1589-afe943329e20@fastmail.com> (message from Saulius Menkevicius on Tue, 25 Jan 2022 14:25:23 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285368 Archived-At: > Date: Tue, 25 Jan 2022 14:25:23 +0200 > From: Saulius Menkevicius > Cc: p.stephani2@gmail.com, alan@idiocy.org, mituharu@math.s.chiba-u.ac.jp, > emacs-devel@gnu.org > > I certainly cannot answer that, it probably does some kind of sniffing > on FDs and changes behaviour. > > To actually figure that out I would need to build a minimal test fixture > for this bug/issue and submit to dotnet/runtime repo on github for them > to check and/or fix it. I think there's no way around this. We need at least to understand what part of posix_spawn code interferes with pipe-based I/O used by these LSP servers, and why.