[slime-devel] Where does run-program output go?

Brian Downing bdowning at lavos.net
Tue May 3 04:02:12 UTC 2005


On Mon, May 02, 2005 at 08:32:35PM -0700, Jeffrey Cunningham wrote:
> with-output-to-string (s) works perfectly. 
> Thanks!

Also, you can say

(ext:run-program "/bin/ls" '() :output *standard-output*)

to make it show up in the Slime REPL.  It appears that by default
run-program :output just passes the stdout Unix filehandle through to
the other process, which obviously bypasses the magic Slime uses to pass
the stream over the Slime protocol.  Putting a stream in :output
redirects it to a Lisp stream.

-bcd
-- 
*** Brian Downing <bdowning at lavos dot net> 



More information about the slime-devel mailing list