4.2.2 Annotated examples
"frob"
that created output you wanted to process in Lisp, you could write the following code:(defun frobify (input arguments) (with-open-stream (frob (run-program "frob" :output :stream :input input :arguments arguments :wait nil)) (process-frob-stream frob)))The
input
parameter could be a filename or a stream, and the arguments would consist of a list of the necessary command-line arguments to the program"frob"
.
Generated with Harlequin WebMaker