Menu

#745 Command-line arguments processing problems

lisp error
open
nobody
None
5
2021-03-17
2021-03-17
No

Hello,

this is with CLISP 2.49.93+ (2018-02-18) freshly compiled from the latest mercurial checkout on OSX High Sierra. CLISP doesn't behave as documented when generating a standalone executable. To reproduce, simply do something like this:

[1]> (defun main () (print ext:*args*) (exit))
MAIN
[2]> (ext:saveinitmem "test" :executable 0 :init-function #'main)

After that, the options passed to ./test do not appear in ext:args (you have to use -- first) but continue to be processed by the image as usual.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB