From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner Koch Newsgroups: gmane.emacs.devel Subject: Re: pipe Date: Sat, 14 Mar 2015 20:28:01 +0100 Message-ID: <87y4mzbcqm.fsf@vigenere.g10code.de> References: <83twxp2mew.fsf@gnu.org> <87h9tp3wsp.fsf-ueno@gnu.org> <87wq2kd5je.fsf@vigenere.g10code.de> <83d24c2c2p.fsf@gnu.org> <87d24bdcgr.fsf@vigenere.g10code.de> <838uez3dcj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1426361491 19509 80.91.229.3 (14 Mar 2015 19:31:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2015 19:31:31 +0000 (UTC) Cc: ueno@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 14 20:31:30 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 1YWrmT-0003MS-Fs for ged-emacs-devel@m.gmane.org; Sat, 14 Mar 2015 20:31:29 +0100 Original-Received: from localhost ([::1]:41670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWrmS-0006VM-QD for ged-emacs-devel@m.gmane.org; Sat, 14 Mar 2015 15:31:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWrmP-0006VC-UW for emacs-devel@gnu.org; Sat, 14 Mar 2015 15:31:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWrmK-0003qM-KT for emacs-devel@gnu.org; Sat, 14 Mar 2015 15:31:25 -0400 Original-Received: from kerckhoffs.g10code.com ([217.69.77.222]:38777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWrmK-0003oc-Ek for emacs-devel@gnu.org; Sat, 14 Mar 2015 15:31:20 -0400 Original-Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1YWrmJ-0001wM-AI for ; Sat, 14 Mar 2015 20:31:19 +0100 Original-Received: from wk by vigenere.g10code.de with local (Exim 4.84 #3 (Debian)) id 1YWrj8-0007HL-9c; Sat, 14 Mar 2015 20:28:02 +0100 Organisation: g10 Code GmbH X-message-flag: Mails containing HTML will not be read! Please send only plain text. OpenPGP: id=F2AD85AC1E42B367; url=finger:wk@g10code.com Mail-Followup-To: Eli Zaretskii , ueno@gnu.org, emacs-devel@gnu.org In-Reply-To: <838uez3dcj.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Mar 2015 15:42:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 217.69.77.222 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:183869 Archived-At: On Sat, 14 Mar 2015 14:42, eliz@gnu.org said: > But that means it would be impossible to invoke gpg from a shell that > can redirect handles beyond the first 3, like some decent port of > Bash, is that correct? Or is that where the wrapper comes into play, I don't know about a native Bash port to Windows. Using Cygwin with native Windows programs is problematic has you probably know. > Again, I was talking about file descriptors; the Win32 API knows > nothing about those. MS runtime passes the translation table between > handles and file descriptors through undocumented fields of I never looked at the MS runtime this since I did the first cross-compiler toolkit ~20 year ago. I have not a found away to inherit only specific handles without the wrapper trick. How do they do that or is the problem of inherited handles in the child ignored? Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.