Helmut,
with-output-to-string (s) works perfectly. Thanks!
-Jeff
On Mon May 02, 2005 at 06:50:42PM +0200, Helmut Eller wrote:
Jeffrey Cunningham jeffrey@cunningham.net writes:
On the other hand, if I run CMUCL outside of SLIME, it works as advertised. So, where is the output going?
The output is probably in the *inferior-lisp* buffer. SLIME only redirects output to the Lisp level stream; output to the Unix file descriptor is currently not touched. We could redirect it, but I'm not sure whether that would be an advantage.
And how can I capture it in a local variable?
Maybe:
(with-output-to-string (s) (ext:run-program "ls" '("-la" "/bin") :output s) s)
Helmut. _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
--Jeff