[gambit-list] How to do pipe?

Taylor Venable taylor at metasyntax.net
Thu Jun 18 10:57:44 EDT 2009


On Tue, Jun 16, 2009 at 12:03:16PM -0400, Marc Feeley wrote:

> The latest patch to Gambit solves this problem by introducing new  
> procedures: call-with-input-proces, with-input-from-process, etc.   
> These procedures wait for the process to terminate (by calling process  
> status).  The patch also fixes a bug in process-status.

Are these API expected to be relatively bug-free, or are they still
considered experimental?  I get an error when using them sometimes:

> (let loop ((i 0)) (close-port (open-process (list path: "/bin/ls"))) (loop (+ i 1)))            
*** ERROR IN loop, (console)@107.31 -- Interrupted system call
(open-process '(path: "/bin/ls"))

Thanks,

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/



More information about the Gambit-list mailing list