Re: a small SBCL question



Hi!

What do you mean "documentation is sketchy"??? ;-)

Try (describe 'run-program) for the whole list of goodies...

Simple (run-program "./the_program" (list "input.file" "output.file"))
should work in your case...

Puul B.

TorvoSollazzo@xxxxxxxxxxxx wrote:

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 ;)).

Btw, I found the following solutions for other Lisps (but I'd like to
use SBCL):
CLISP: (ext:shell "...")
ECL: (ext:system "...")
GCL: (system "...")

Thanks a lot,
M

.