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.