[Newbies] Re: Wait for an external app
Sean P. DeNigris
sean at clipperadams.com
Sat Nov 13 05:27:25 UTC 2010
Teleplacer wrote:
>
>> Is there an idiomatic "short delay"
>
> FWIW, if your application is interactive, I would do that test in a step
> method rather than a background process.
>
I keep coming back to this. Now I want code to be run when a CD is
inserted. What's the best way to do this?
I was thinking about a forked process again that checks every so often, but
this seems wasteful, since it will be a relatively rare event. Then, I
re-read the Morphic suggestions, but given that this has nothing to do with
the UI (although the event handler may well launch a UI), that doesn't feel
right either.
Thanks.
Sean
--
View this message in context: http://forum.world.st/Wait-for-an-external-app-tp3030911p3040591.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list