I see that run-program with wait nil returns up to three streams,
but no process id that could be used to kill it.
Is there a recommended procedure?
> * Don Cohen <qba-grfg-204@...> [2004-09-20 09:22:12 -0700]:
> I see that run-program with wait nil returns up to three streams,
> but no process id that could be used to kill it.
> Is there a recommended procedure?
closing all streams usually does it.
the new interface by Arseny, LAUNCH, returns the PID as the first value.
(I wonder if it is now sufficiently complete to replace SHELL &c.)
There is no KILL function, but you can do
(run-shell-command (format nil "kill -9 ~A" pid))
I think Arseny planned to implement EXT:KILL (a straightforward
-- unfortunately, they are somewhat incompatible...)
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
There are two kinds of egotists: 1) Those who admit it 2) The rest of us