From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Filter IO through an external command Date: Fri, 24 Feb 2012 11:25:28 +0100 Message-ID: <8762ewmstj.fsf@pobox.com> References: <877gzdbhbr.fsf@gnuvola.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1330086931 1493 80.91.229.3 (24 Feb 2012 12:35:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2012 12:35:31 +0000 (UTC) Cc: guile-user@gnu.org, Thien-Thi Nguyen To: Daniel Hartwig Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 24 13:35:28 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S0uMs-0003Vm-7i for guile-user@m.gmane.org; Fri, 24 Feb 2012 13:35:22 +0100 Original-Received: from localhost ([::1]:33513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0uMm-0005we-Lc for guile-user@m.gmane.org; Fri, 24 Feb 2012 07:35:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0uMd-0005nn-97 for guile-user@gnu.org; Fri, 24 Feb 2012 07:35:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0uMX-0000SL-Jm for guile-user@gnu.org; Fri, 24 Feb 2012 07:35:06 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:53226 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0uMX-0000Ru-BX for guile-user@gnu.org; Fri, 24 Feb 2012 07:35:01 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 0AFCB8B38; Fri, 24 Feb 2012 07:35:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=H47sjAJk0SJnFB25XuInwIITZk0=; b=AQOOE5 TcvCasCeCvyPD0FhNd3qoLq9XHbjAMghDvqlc4DUh76Yes/+Mx9i+SRbc7X9shn2 aH+W4qJ8acqfsz0qwkbh0kFpt7qemYkRJy1A+Y/SDm8+E6Fy+i0ik5gBrp/0QkyR y0AwsxOEVwgjARl4+m4nRppBrqPUB2I+51ffg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=aRBsxkfImIkOz2eY9FPAMXoeoSqpVwa4 NDWEpVVvQMdejUYFGYqIDDqzRFDDayiZSKkmm/TLBneny8ORacc6ClbHPvlGM04D HGdvmO8+CA1Xj2sg0rgsMOFgvRShc4Si4PIn7Cq8ifzPu6RSWbF3bAw1CgOu3TXj Xp0LVtB3Gco= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 012218B37; Fri, 24 Feb 2012 07:35:00 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6061B8B36; Fri, 24 Feb 2012 07:34:59 -0500 (EST) In-Reply-To: (Daniel Hartwig's message of "Fri, 24 Feb 2012 11:31:40 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: F72E38EA-5EE3-11E1-83A7-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9304 Archived-At: On Fri 24 Feb 2012 04:31, Daniel Hartwig writes: > I ended up using run-with-pipe from guile-lib's (os process) module > which returns separate port objects--similar to the OP's proc.. Should we incorporate something like this into Guile? Want to make a patch? It could make open-process return the read and write ports separately. Andy -- http://wingolog.org/