The Advanced User's Guide
The Foreign Function Interface allows you to load code that is written in computer languages other than Lisp into the Lisp environment, and it creates Lisp functions to call non-Lisp code. Similarly, you can write functions in this interface that convert information provided by Lisp functions to a format that can be used in a foreign environment.
run-program calls an executable program from Lisp. It can optionally redirect the standard input, standard output, and error output streams of the program to Lisp streams.
The manner in which the Foreign Function Interface operates is distinguished from the operations performed by
run-program in an important way:
run-programstarts up a program as a separate process. Thus, communication is limited to the standard input and standard output streams. Nonetheless,
run-programis appropriate for many simple applications, such as invoking operating system services.
Generated with Harlequin WebMaker