I couldn't make this work with CGI apps though.
-bash-2.05b$ head stream-cgi-test.cgi
#!/bin/sh
":";exec /usr/local/bin/csi -s $0 "$@"
;; Set chicken respository path for importing eggs
(use posix)
(setenv "CHICKEN_REPOSITORY" "/home/htdocs/chicken")
(use stream-cgi html-stream)
Doing a 'setenv' programatically still doesn't work. Chicken bails out with
following error,
Error: (require) can not load extension: stream-cgi
I think, chicken doesn't find the repository path at the time of (use
posix), but before even the script is execute.
Any idea on how to overcome this problem?