From: Stanislav B. <st...@ch...> - 2001-03-20 06:37:41
|
Hello, I guess I have problems running lisp programs from command line with clisp (under w2k). Suppose I have such a file test.lisp: (print "load") (defun test () (print "test")) I'm trying to run it like this: .\lisp.exe -M .\lispinit.mem -B . test.lisp I see nothing on the console. I think it just silently exits, because I tried this file with the same effect: (print "load") (defun test () (print "test") (test)) (test) If I start lisp in interactive mode, it prints all my test strings OK: .\lisp.exe -M .\lispinit.mem -B . test.lisp (load "test") (test) Of course, I can run it like this: .\lisp.exe -q -M .\lispinit.mem -B . -x "(load \"test\") (test)" But this is firstly workaround, and secondly, it prints all the system stuff like "Loading file ...", "Successfully loaded...", etc. (even if I specify -q flag). So what do you guys think about this? Thanks, Stas |