[Seaside] Suspending UI Process
asqueaker at gmail.com
Sat Oct 20 01:49:09 UTC 2007
Suspending the UI Process may want to be done irrespective of running
headful. But I would only do it once I knew I my other (server)
process listening for a request that could resume the UI process was
running. A failure in starting the server otherwise would render the
image non-responsive with no way to make it so.
On 10/18/07, Randal L. Schwartz <merlyn at stonehenge.com> wrote:
> >>>>> "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
> 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!
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside