From: Lars Rune Nøstdal
Subject: Re: How to programmatically exit?
Date: 
Message-ID: <1224962357.7962.365.camel@blackbox>
On Sat, 2008-10-25 at 19:06 +0200, Lars Rune Nøstdal wrote:
> On Sat, 2008-10-25 at 09:13 -0700, Russell Wallace wrote:
> > From within a portable Lisp program, how do you exit cleanly to the
> > operating system (as opposed to the debugger), i.e. the equivalent of
> > exit(0) in C? I can't find anything in the hyperspec or Google, but
> > maybe I'm overlooking something obvious.
> 
> CL-USER> (cffi:foreign-funcall "exit" :int 0)
> ...
> Process inferior-lisp exited abnormally with code 0
> 

Just came over this:
  http://www.cliki.net/cl-launch

..search that page for cl-launch:quit .. might make sense; you'll have a
portable way to start stuff also then.


-- 
Lars Rune Nøstdal   || AJAX/Comet GUI type stuff for Common Lisp
http://nostdal.org/ || http://groups.google.com/group/symbolicweb