From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible. Date: Thu, 31 Dec 2020 18:36:47 +0100 Message-ID: References: <835z4qnhyx.fsf@gnu.org> <83y2hklqhg.fsf@gnu.org> <83wnx4lq3b.fsf@gnu.org> <83lfdegca1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37011"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 31 18:39:05 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 1kv1uh-0009W1-Ka for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 18:39:03 +0100 Original-Received: from localhost ([::1]:48098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv1ug-0000tB-Mx for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 12:39:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv1sj-0008Cc-KB for emacs-devel@gnu.org; Thu, 31 Dec 2020 12:37:01 -0500 Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:36676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kv1si-00061z-0d; Thu, 31 Dec 2020 12:37:01 -0500 Original-Received: by mail-ot1-x336.google.com with SMTP id d20so18520985otl.3; Thu, 31 Dec 2020 09:36:59 -0800 (PST) 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 :cc; bh=jb3y1qh2OhB42qCgOYHcSBnAP8dbfCXEQeeWNS0YFSg=; b=dRP/t8rCZCVA2wI+n9zJP8u6/hC+6EZa5qokEwyDIn0/i00av77TV2D0au2JZwIm5w w/wAtbaNwZfXMrxuh37aTZ8shtcNzQg8dg1Fe29nuY29KqteppuHsea4C2vipemQh9Sk OkwJ5VIm4oAiWJkDM968AaQ9iPafJNKXxijshUA4XSn/SjJirmVP8oHuWGIlLcreK4TN 7+XgkWPVvJ2doUhdJtK8jGV7DmmxBtCZa3BN8Ld7pXj1Wq7D3WKraJh56gegGPKNsDDb uXP98bJ2dtObbY9tawKqUrWqUEb+8m0T06VdmxD3JibJn24q4d/tQQsR6zlOYCfy1blu b2tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jb3y1qh2OhB42qCgOYHcSBnAP8dbfCXEQeeWNS0YFSg=; b=pC3PlTRQWNp0x8KMUJ4hCjv4otEtbM2tMhxPZDZtbvtanz99h251RqL961qfiKbYxa 4Bs9Pfprq3xdpOCD7Bnpff/EtT5/jqITUfrUHlDw0MoCe0xiuqQacsk3+CUuaumlOY7u SMnu8t+geeXe9CkTIzkZjIURsdx+3YMYAe9bD/ViZKiVcx2xnWtIPpjmaKWFwThhE+/x 6mkNfUV12Z/SFp/k7O086hJqUe0bLDAABcGC27LiI4XTmFbrP6Iz0Yl1UVk1nF5pbTH3 B+SoBz2sDM9mUtwez+fUqDc7ktgm1NalyzldAUfLd1JMhNKOVWOG5G0IG5PCpJnd6EYL ls0Q== X-Gm-Message-State: AOAM530fO8JgrctwXuD+nwaVmB2EuqKG9FvPNejWZEUmOP1SrRqk4skj WpZt3pXJizW6Lm5IeCxGJ123Gyp/mpsN0JYru+l4w3JJd60= X-Google-Smtp-Source: ABdhPJxbsf9N3o94uZo93+1SX0sF3JIBIa7d/y9UpBodBpcofhc6zWRc+qhK+nSTuWbKcwe/y6HD/UzIYclLRGJCIus= X-Received: by 2002:a05:6830:3106:: with SMTP id b6mr40636106ots.36.1609436218120; Thu, 31 Dec 2020 09:36:58 -0800 (PST) In-Reply-To: <83lfdegca1.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=p.stephani2@gmail.com; helo=mail-ot1-x336.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:262188 Archived-At: Am Do., 31. Dez. 2020 um 17:40 Uhr schrieb Eli Zaretskii : > > > From: Philipp Stephani > > Date: Thu, 31 Dec 2020 17:24:41 +0100 > > Cc: Emacs developers > > > > I think that using posix_spawn on GNU/Linux and for non-pty processes > > is still a significant win, though. > > 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. In particular, everything running in the background (Flymake, VC...) doesn't, as well as synchronous processes (call-process etc.). TTY-based communication happens to be the default for asynchronous processes, but that's more of a historical choice than a real need.