Commit accd08ab authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Add a README, thanks to eudoxia0.

parent 91028c53
# lisp-invocation
lisp-invocation is a small library for starting Lisp processes from Common Lisp.
lisp-invocation actually only computes the proper command-line invocations;
to actually run a process, you will use
[uiop:run-program](http://cliki.net/uiop),
[inferior-shell:run](http://cliki.net/inferior-shell), or
[external-program:start](http://cliki.net/external-program).
## Usage
A simple example: Starting an SBCL process, running some code and quitting.
Here we use [uiop:run-program](http://cliki.net/uiop) to run the process
and extract its output.
(let ((impl :sbcl))
(uiop:run-program
(lisp-invocation:lisp-invocation-arglist
:implementation-type impl
:eval (format nil "(progn (format t \"~~{~~31R~~^ ~~}~~%\" '~S) ~A)"
'(595756 9556552524 643802 496307950)
(lisp-invocation:quit-form :code 0 :implementation-type impl)))
:output :string))
## License
Free Software available under an MIT-style license.
Copyright (c) 2008 ITA Software, Inc. All rights reserved.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment