(defpackage #:runlisp
(:use #:common-lisp)
(:export #:*lisp-interpreter* #:*command-line-strings* #:run))
+(defvar runlisp:*command-line-strings* '("<interactive>"))
(defpackage #:mdw.sys-base
(:use #:common-lisp #:runlisp)
(defun exit (&optional (code 0))
"Polite way to end a program. If running in an interactive Lisp, just
return to the top-level REPL."
- (if (boundp '*command-line-strings*)
+ (if (boundp '*lisp-interpreter*)
#+(or cmu ecl) (ext:quit code)
(progn
(unless (zerop code)