From: Lars Rune Nøstdal
Subject: Re: LISP in "batch mode"
Date: 
Message-ID: <72add1ff-7254-4489-a25a-6b908aef07d3@s50g2000hsb.googlegroups.com>
On Jul 11, 9:08 pm, Francogrex <······@grex.org> wrote:
> Hi, again me. I would like to know if any implementation of lisp (like
> clisp) is able to be run in "batch mode" (i.e non-interactive). I saw
> a post where someone was talking about making a lisp executable image
> and have the non-interactive batch mode integrated in the image. The
> reason I would like a batch mode image/version is that I'd like to use
> SAS (a data-management software) to invoke lisp by doing something
> like (in SAS):
> X "c:\clisp.exe --no-save --quiet <""c:\program.lisp"" >""c:
> \program.log""";
> where program.lisp contains my lisp code and program.log would have
> the output stored. When I do it now with the image I made of clisp it
> is not creating the program.log file.
> Thanks

http://groups.google.com/group/comp.lang.lisp/msg/7e66031e0660cb21

--
Lars Rune Nøstdal
http://nostdal.org/
From: Lars Rune Nøstdal
Subject: Re: LISP in "batch mode"
Date: 
Message-ID: <57df7658-79dc-4451-8f42-823794796819@c58g2000hsc.googlegroups.com>
On Jul 11, 9:14 pm, Lars Rune Nøstdal <···········@gmail.com> wrote:
> On Jul 11, 9:08 pm, Francogrex <······@grex.org> wrote:
>
> > Hi, again me. I would like to know if any implementation of lisp (like
> > clisp) is able to be run in "batch mode" (i.e non-interactive).

Many (most?) Lisps have support for this stuff by the way. SBCL too:

http://www.sbcl.info/manual/Unix_002dstyle-Command-Line-Protocol.html

..use sb-ext:*posix-argv* to read in arguments from the shell.

--
Lars Rune Nøstdal
http://nostdal.org/