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: Thu, 31 Dec 2020 19:47:33 +0200 Message-ID: <83h7o1hnpm.fsf@gnu.org> References: <835z4qnhyx.fsf@gnu.org> <83y2hklqhg.fsf@gnu.org> <83wnx4lq3b.fsf@gnu.org> <83lfdegca1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 31 18:49:29 2020 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 1kv24n-0000Ah-Hl for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 18:49:29 +0100 Original-Received: from localhost ([::1]:53662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv24m-0004mW-JB for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 12:49:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv23F-000434-GM for emacs-devel@gnu.org; Thu, 31 Dec 2020 12:47:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53811) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv23F-0001d7-9d; Thu, 31 Dec 2020 12:47:53 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2774 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kv23E-0003Fo-I2; Thu, 31 Dec 2020 12:47:53 -0500 In-Reply-To: (message from Philipp Stephani on Thu, 31 Dec 2020 18:36:47 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:262189 Archived-At: > From: Philipp Stephani > Date: Thu, 31 Dec 2020 18:36:47 +0100 > Cc: Emacs developers > > > Maybe so, but are there enough use cases that need non-PTY > > subprocesses to make this worth our while? > > Most processes don't need a TTY. Only those that interact with the > user (shell, term, interactive compile, ...) do, but that's probably a > minority. I'm not sure it's a minority. How about if you come up with a list of specific commands that launch subprocesses which don't need a PTY? > In particular, everything running in the background > (Flymake, VC...) doesn't These two maybe not, but I'm not so sure about what hides behind the ellipsis. But assuming you are right, you intend to audit all the places where we start a process and switch their :connection-type to nil if needed? Or change the default value of process-connection-type?