[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pipelines
From: |
Andy Wingo |
Subject: |
Re: pipelines |
Date: |
Sat, 28 Mar 2009 23:24:54 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Hi Marijn,
On Sat 28 Mar 2009 05:53, "Marijn Schouten (hkBst)" <address@hidden> writes:
> how would I construct a pipeline with guile? Currently my best attempt which
> turns to nothing is:
>
> guile> (use-modules (ice-9 popen))
> guile> (with-output-to-port (open-pipe "echo" OPEN_WRITE) (lambda ()
> (with-input-from-port (open-pipe* OPEN_READ "echo" "Hello world") (lambda ()
> (display (readline))))))
What do you mean by "pipeline"? Do you want to spawn off "echo foo |
bar", or write data to "bar", or read data from "echo foo" ?
Andy
--
http://wingolog.org/
- pipelines, Marijn Schouten (hkBst), 2009/03/29
- Re: pipelines,
Andy Wingo <=
- Re: pipelines, Ludovic Courtès, 2009/03/31