[gambit-list] How to do pipe?
Marc Feeley
feeley at iro.umontreal.ca
Sun Jun 14 13:09:28 EDT 2009
On 14-Jun-09, at 10:59 AM, Lam Luu wrote:
> Hello all,
>
> Is there anyway to open a pipe to a new process (On Unix)? You know,
> like popen in C. I have searched through the manual, but could not
> find
> anything there.
Look for "open-process" in the manual. If your Gambit is properly
installed, just do (help open-process).
Here is a simple example on Unix:
> (read-line (open-process "date"))
"Sun Jun 14 13:07:57 EDT 2009"
Marc
More information about the Gambit-list
mailing list