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 20:33:43 +0200 Message-ID: <83ft3lhlko.fsf@gnu.org> References: <835z4qnhyx.fsf@gnu.org> <83y2hklqhg.fsf@gnu.org> <83y2hgiimt.fsf@gnu.org> <83pn2shssw.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34977"; 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 19:34:58 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 1kv2mm-0008u5-Un for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 19:34:56 +0100 Original-Received: from localhost ([::1]:43536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv2mm-0007PJ-0F for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 13:34:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv2m1-0006u9-Ag for emacs-devel@gnu.org; Thu, 31 Dec 2020 13:34:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55487) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv2m1-0001VJ-3L; Thu, 31 Dec 2020 13:34:09 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1979 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kv2lw-0004Cy-PF; Thu, 31 Dec 2020 13:34:06 -0500 In-Reply-To: (message from Philipp Stephani on Thu, 31 Dec 2020 17:10:28 +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:262192 Archived-At: > From: Philipp Stephani > Date: Thu, 31 Dec 2020 17:10:28 +0100 > Cc: Emacs developers > > I've now created the branch scratch/posix-spawn-no-gnulib that calls > the libc posix_spawn function/syscall directly. I've realized that for > now that's the better approach, as the Gnulib replacement doesn't let > us call setsid() yet (that's a new functionality that is available on > GNU/Linux and macOS, but not yet in Gnulib). This should also lower > the impact on the Windows build. Thanks, that builds on MS-Windows and passes my smoke test (after fixing a minor glitch that caused a compilation warning).