"Kevin Tor" <[EMAIL PROTECTED]> writes:

> I am trying to figure out a way to open a Unix process 
> 
> to start a new lisp listener with no dependence on the
> 
> process that spawns it.
> 
>  
> 
> Basically, I want to run a program up to a point.
> 
> Then I want to spawn a new process to run a separate
> 
> lisp session. (Ideally, I would like to stream a load
> 
> call to the sessions but if I have to type it in
> 
> manually, that's fine). The program is hopefully
> 
> waiting for this process to terminate, destroy the
> 
> process and continue on from that point.

You can use EXT:RUN-PROGRAM to start a fresh lisp image (or any other
program).

        (ext:run-program "/usr/bin/lisp" '("-load" "my-file") :wait t)

Passing :wait t causes the call to block until the program exits.

I think this should do what you're asking, but it's hard to know
without more information.

HTH,

cbb

-- 
 20:16:13 up 91 days,  5:10,  1 user,  load average: 0.00, 0.03, 0.00

Reply via email to