Re: Running scotty as a CGI

Paulo Eduardo Neves (neves@inf.puc-rio.br)
Mon, 21 Jul 1997 21:20:02 -0300

> I'm having some troubles running a cgi script that uses Scotty as >shell.

The problem is solved! Due to Mr. John Switzer (jrs@net.com) sugestion.
Thanks again John.

I just had to put the following lines in the beginning of the file:

#!/bin/sh
#dummy line \
export HOME;HOME=/home/neves
# Now invoking Scotty corretly \
exec /usr/local/bin/scotty2.1.5 "$0" "$@"

It look likes Scotty won't run if the HOME shell variable isn't defined.
I belive you can use a dummy value.

Thanks to everybody who answered me.

-- 
Paulo Eduardo Neves
mailto:neves@inf.puc-rio.br    Rio de Janeiro - Brasil
Pager-> Central:(021)532-4499  Cod.:213 99 64
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.