
2 May
2005
2 May
'05
4:50 p.m.
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.