From: Anton V. <avo...@ya...> - 2012-06-28 23:05:21
|
Hello. Sam, Pascal, thanks for the responses. (I use different solution though, because the answers not exactly apply to my situations, where on windows lisp.exe is a granchild of my program process). 08.06.2012, 06:20, "Sam Steingold" <sd...@gn...>: > PS. You now owe me 3 zorkmids. :-) > http://clisp.org/impnotes/faq.html#faq-fine Not that I am stingy for zorkmids, but as it's a kind of penalty, I should defend myself. 08.06.2012, 06:20, "Sam Steingold" <sd...@gn...>: > Hi, > >> * Anton Vodonosov <nib...@ln...> [2012-06-08 01:55:03 +0400]: >> >> It's not trivial to even get process id of lisp.exe. > > http://clisp.org/impnotes/syscalls.html#processes Of course I've read the process functions including getpid, but the difficulty is that I need to get ID of a grandchild of my program: myprogram -> clisp.exe -> lisp.exe > >> What are my options to reliable kill started CLISP? > > killall -v lisp.exe > >> Is it possible to start CLISP in a way that it consists only of one process? > > http://clisp.org/impnotes/image.html > (saveinitmem ... :executable t) > No, this doesn't apply to me, because I do not control the clisp executable, it's the user of my program configures the path to clisp executable. And I can't require him to rebuild the executable. >> I am curious btw, what is the role of CLISP separation into lisp.exe >> and clisp.exe? > > http://clisp.org/impnotes/clisp.html#opt-link-set > $ clisp -K base > and > $ clisp -K full > start different lisp.exe files. Of course I've found the chapter about clisp command line parameters before asking the question. But it's long, so I didn't understood it completely, I thought it only changes parameters passed to lisp.exe, but not choses different lisp.exe So, I agree to one zorkmid. This zorkmund may be used to have me answering 1 technical question. BTW, this kind of currency may be used in http://villages.cc - if you were registered there I could transfer it to your account. Best regards, - Anton |