From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: standard output/error/input streams Date: Fri, 20 Jan 2017 13:24:07 -0800 Message-ID: References: <87wpdxu8yt.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484947679 15458 195.159.176.226 (20 Jan 2017 21:27:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2017 21:27:59 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.91 (darwin) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 22:27:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUgiF-0000Ns-Aj for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2017 22:27:11 +0100 Original-Received: from localhost ([::1]:57406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUgiK-00023r-CM for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2017 16:27:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUghH-00020T-Dy for emacs-devel@gnu.org; Fri, 20 Jan 2017 16:26:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUghE-0006Yg-AA for emacs-devel@gnu.org; Fri, 20 Jan 2017 16:26:11 -0500 Original-Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:33232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUghE-0006YM-1o for emacs-devel@gnu.org; Fri, 20 Jan 2017 16:26:08 -0500 Original-Received: by mail-pg0-x243.google.com with SMTP id 194so7753177pgd.0 for ; Fri, 20 Jan 2017 13:26:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=lDwpzIaAId/ejnkMkNdG1wFnwpbJV3yz/fVmndhHOqw=; b=NgMh0HazZDRQ9T+VYsyiQIejKQ6o7G/D2t0XCwRVJktPlxNvwFiIF4+sI8oH4Y+QXA IVIVM0OevpjVlaGMPWOamUy4WJ5gW6azrFM4Ys75FKiAUK3X7khoXOsVkfRngsVgwC4r KkavWZ66fgkD6kmxSJmyQwjKZgNHefg2KqYs+Qay8D5Jwszf5U5RlWjUNvlqZUH+vSG4 t/czyrkXkj+ugKZD3x8HkmH6eh5scdmrNiD6kZzzX4Ugn/ClQD5IvEu40uSTDwPdnArJ UuwU9dEkxCCsSbVTlGN52r8l8dTfkj3QmH6IoLTUBSHoGQQm+nRn+hTeCJmM0XBoxsuL ws6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=lDwpzIaAId/ejnkMkNdG1wFnwpbJV3yz/fVmndhHOqw=; b=qUUuJafCM8e9SsbMHMQFARRPJwA8joWbjohyuPqZBStoqfnk/pOiK/brOPqLGcLBSf nGDo6iweg/yRTEEQbBfMDGs8Sb9utB8PXeRPvTDqSZhnE6KgzXRIy0oBJjmUHxZqRMEq NI4jX2TIZYoVEuxT6esZLnam+vhOdDqCBTxP81dzZtCpa087j05hmRovef/W8zKV8S9D G5lOUOpdXcbLRtDYfcHVf/8tW9ufFe5pSTNk8jcTCTBQCrdtErJ2aFhD+YgHhXunZ6sL 2IPjse1snWOhK3PfkSNpY+FU6iy3qC0so4FTJpTSI8guvbKUNTf0GCT31TizXVPHHxY7 MBLg== X-Gm-Message-State: AIkVDXJo2tlFmwcIIYxoj1gnTEGFpQSrtu6+CvhqZqkXr3bpx7FCOinkCWjvp35VhXAOxQ== X-Received: by 10.99.188.2 with SMTP id q2mr19296654pge.34.1484947567015; Fri, 20 Jan 2017 13:26:07 -0800 (PST) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id f3sm19056763pfd.10.2017.01.20.13.26.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jan 2017 13:26:06 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 13F07F134FF; Fri, 20 Jan 2017 13:27:17 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Fri, 20 Jan 2017 11:26:20 -0500") Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211438 Archived-At: >>>>> "SM" == Stefan Monnier writes: SM> Last time this came up, I thought that mapping "opened files" to Emacs SM> subprocess objects was probably going to be more natural. That does make me realize that I could use `start-process` with an executable that does what I want, and use `process-send-string` to bypass the involvement of any buffers. Thanks for mentioning it. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2