New topic: shell running and progressbar?
<http://forums.realsoftware.com/viewtopic.php?t=47208> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message mitch_stgt Post subject: shell running and progressbar?Posted: Fri Mar 08, 2013 5:22 am Joined: Thu Oct 13, 2005 1:05 am Posts: 92 Hi, i run an shell (in Mode 0 = Main App waits for finishing) for a fixed time of 15 sec. I want to show progessbar while the shell is running. Why the Main App dosnt update the progressbar?! I put an timer (Main App) which was enabled before starting the shell but it is never fired (so no updates in the progressbar). Why?! The Timer , and the progressbar starts running when the shell is finished. I understand that the programmcode after the shell call is not computed until shell is finished - but an timer should run complete independed from any shell - even in mode 0. Cant RB handle at least such things like timer beside running an shell (in mode 0!) ? I havent used the #pragma for disabling background tasks - in such case i would understand RB "sleeps" complete and even not fires the timer. PS: I dont want to poll for shell is running in an loop to avoid cpu load. I fear putting the shell in an thread or putting the timer in an thread wouldnt help to compute progressbar (by timer action). But perhaps some other way possible? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
