From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: pipe Date: Fri, 13 Mar 2015 12:59:19 +0200 Message-ID: <83twxp2mew.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426245266 9864 80.91.229.3 (13 Mar 2015 11:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2015 11:14:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 13 12:14:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YWNXp-0000pU-GH for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2015 12:14:21 +0100 Original-Received: from localhost ([::1]:36265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWNXo-0001zr-Ud for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2015 07:14:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWNVf-0006kt-Ni for emacs-devel@gnu.org; Fri, 13 Mar 2015 07:12:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWNJM-0005H5-2y for emacs-devel@gnu.org; Fri, 13 Mar 2015 06:59:28 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:58305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWNJL-0005Gs-R7; Fri, 13 Mar 2015 06:59:24 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NL500I00D45ZI00@a-mtaout21.012.net.il>; Fri, 13 Mar 2015 12:59:22 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NL500ILKD6XXR40@a-mtaout21.012.net.il>; Fri, 13 Mar 2015 12:59:22 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183842 Archived-At: > From: Daiki Ueno > Date: Fri, 13 Mar 2015 18:01:48 +0900 > > Related to: > https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00777.html > in which I proposed a generalization of start-process, in a similar way > to open-network-stream and make-network-process. I don't see the additional file descriptors mentioned there, did I miss something? > My motivation behind that was to avoid temporary files in epg.el, by > using file descriptors other than 0 and 1 (as you know, gpg has options > --status-fd, --command-fd, --attribute-fd, etc. for that). Can these features of gpg be used on MS-Windows? IOW, how do you invoke a subprocess with redirected file descriptors beyond the 3 standard ones, in a way that will work not only on Posix platforms that support the full 'fork' functionality? (I was about to ask why not use the existing feature of talking to localhost via sockets, but then realized that it would suffer from the same problem of how can we invoke a subprocess with more than just the standard handles redirected.) In any case, the Emacs side of this new process type, if it is added, will "need work" in w32proc.c. Thanks.