Re: How to simple exit in CGI?

Jean Louis <[email protected]> Wed, 29 Mar 2017 01:42:19 +0300
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
On Wed, Mar 29, 2017 at 12:32:11AM +0200, Pascal Bourguignon wrote:
> 
> > On 29 Mar 2017, at 00:21, Jean Louis <[email protected]> wrote:
> > 
> >>>        (command (format nil "lisp -i ~a -x "(saveinitmem "~a" :executable t :init-function 'main :quiet t :norc t)"" original executable)))
> >> 
> >> Here, you’re not using clisp, but CMU CL (lisp).
> >> (Each character is important, with computers).
> > 
> > I don't know what you wish to say with that one. I am using CLISP at
> > all times. CMU CL does not compile on 64 bit architectures
> 
> You have a typo, “lisp -i …” instead of “clisp -i …”.

Because I have either lisp image with quicklisp inside, named lisp, or
symlink sometimes.

> > *** - OS-ERROR(EFAULT): Bad address
> > Break 1 [1]> 
> 
> You must have new code.

Nothing changed in your code. I just changed the directory where
quicklisp is located, and did the make, it makes the jean.cgi, I copy
it to test.cgi in ~/public_html and try to call it, it hangs for some
time, until I see this screenshot, but now I did not get error code,
just hanging longer time:
https://rcdrun.com/files/tmp/2017-03-29-01:37:35.jpg

I tried with few webservers. When you say that Apache is delivering
404, and recognizing no output, I will try with other servers
too. Maybe that is the problem.

Jean

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list