[plt-scheme] Teach Yourself Scheme
On Jan 21, 2010, at 9:01 AM, Eli Barzilay wrote:
> On Jan 21, John Clements wrote:
>> On Jan 21, 2010, at 5:13 AM, Eduardo Bellani wrote:
>>
>>>> http://li21-127.members.linode.com:8001/servlets/standalone.ss
>>>
>>> Looks down for me
>>
>> Grr. Up again. Maybe this would be a nice time for someone to tell me how to start a server.
>>
>> /home/clements/full-4.2.4.1/bin/mred -uq ./first-applet.ss < /dev/null > /tmp/extra-log 2>&1
>
> Using mred is probably not a good idea -- unless you're using
> something like VNC, then my guess is that it connected to your ssh's
> forwarded DISPLAY, which disappears when you log out.
I figured I needed mred for scheme/sandbox stuff, but I just tried it with mzscheme, and it works fine. Thanks!
(FWIW, I did have a persistent vnc server process, and the servlet survived my logout, so that wasn't the problem.)
> (And BTW, all those disown/nohup/etc things shouldn't be needed these
> days. But it is a good idea to have a loop that will start it if/when
> it dies.)
Simplest way to write that would be... another scheme process that starts the web server (using "system") synchronously in a loop?
Thanks,
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20100121/bbab4bff/attachment.p7s>