How to simple exit in CGI?
Jean Louis <[email protected]> Mon, 27 Mar 2017 21:23:06 +0300
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
Previous message was not well formulated: The "program" is here: (defun main () (ext:exit 0)) is saved as memory image test.cgi I would like to simply exit as CGI program. When I make the memory image, and run http://localhost/test.cgi?a or if I put any char after cgi, like / or ?a=1 the memory image is exiting or giving its output If I just call it with wget -O /dev/shm/test "http://localhost/order.cgi" I get after longer waiting of about 45 seconds following output: *** - Ctrl-C: User break Break 1 [1]> How can I avoid that? It is for the security of the CGI execution, tht without parameters it should simply exit, but exiting seem a problem to me. 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