From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: X11 bindings and shell bindings Date: Thu, 18 Sep 2008 12:08:01 -0400 Message-ID: <17616791.2846141221754081968.JavaMail.root@cdptpa-web08-z02> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221754371 19756 80.91.229.12 (18 Sep 2008 16:12:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2008 16:12:51 +0000 (UTC) Cc: Guile User Mailing List To: Ishan Arora Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 18 18:13:46 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KgM7y-000232-CQ for guile-user@m.gmane.org; Thu, 18 Sep 2008 18:13:10 +0200 Original-Received: from localhost ([127.0.0.1]:53983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgM6x-0003Xe-3N for guile-user@m.gmane.org; Thu, 18 Sep 2008 12:12:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgM33-0001Q5-Kl for guile-user@gnu.org; Thu, 18 Sep 2008 12:08:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgM31-0001PC-SY for guile-user@gnu.org; Thu, 18 Sep 2008 12:08:05 -0400 Original-Received: from [199.232.76.173] (port=41692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgM31-0001Oy-LJ for guile-user@gnu.org; Thu, 18 Sep 2008 12:08:03 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.123]:59931) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KgM31-0006Mt-9j for guile-user@gnu.org; Thu, 18 Sep 2008 12:08:03 -0400 Original-Received: from cdptpa-web08-z02 ([10.127.132.159]) by cdptpa-smta02.mail.rr.com with ESMTP id <20080918160801.KOSO7810.cdptpa-smta02.mail.rr.com@cdptpa-web08-z02>; Thu, 18 Sep 2008 16:08:01 +0000 X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 66.178.229.162 by webmail.roadrunner.com; Thu, 18 Sep 2008 16:08:01 +0000 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6775 Archived-At: ---- Ishan Arora wrote: > Hi, > > Thanks for the reply. I tried system. It calls the code synchronously, and > returns a number for success or failure of the command. Is there a way such > that the stdout output of the command is returned as a string? Thanks again. Try open-input-pipe in the (ice-9 popen) module. http://www.gnu.org/software/guile/manual/html_node/Pipes.html -Dale