[Seaside] Suspending UI Process

Randal L. Schwartz merlyn at stonehenge.com
Fri Oct 19 01:20:29 UTC 2007


>>>>> "Norbert" == Norbert Hartl <norbert at hartl.name> writes:

>> Yes, you can pass a .st script file to the vm that will be executed on
>> the start of the image. Seaside Hosting does this and as far as I
>> remember it's not really small.
>> 
Norbert> I do the following:

Norbert> [
Norbert>    (Delay forSeconds: 10) wait.
Norbert>    Project uiProcess suspend.
Norbert> ] fork.
Norbert> SmalltalkImage current snapshot: true andQuit: true

I haven't tried this, but what about registering a startUp request,
and when it starts up, determining whether you're headless or normal
(maybe by host name), and having it execute this Project uiProcess
call?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the seaside mailing list