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