On Mon, Jun 9, 2008 at 2:49 PM, John Wells <[EMAIL PROTECTED]> wrote:
> Because this is always sequential, I can't imagine a call to exit() in
> the main body of the Shoes::app block will ever actually work. This
> also explains why the sample *does* work...it responds to a keypress,
> and thus the exit() is always called after the UI has been initiated.

Which should've been a clue. After thinking a bit further and looking
at what events were available, this seems to solve my problem:

Shoes::app do
  start do
    exit
  end
end

Of course, my code is much more than this, but you get the picture.

Thanks,
John

Reply via email to