Re: a small SBCL question



Ooopps! As a typical newbie, I was just looking at the pdf in the
docs...
Thanks again for the fast and complete answer!

On 28 Dic, 20:25, Pascal Bourguignon <p...@xxxxxxxxxxxxxxxxx> wrote:
"TorvoSolla...@xxxxxxxxxxxx" <matteo.prade...@xxxxxxxxx> writes:
Hi,
I have a small practical question for the SBCL experts: I need to call
an external program from my lisp code to excange data through files. At
shell, it is something like: "./the_program input.file output.file".
How can I do it using SBCL? I found sb-ext:run-program, but its
documentation appears a bit "sketchy" (at least to me ;)).

.....
;; Outch! How sketchy!

S/CL-USER[38]> (sb-ext:run-program "/bin/ls" '("-l" "/tmp/a.lisp"))

.....

.