Page 1 of 1

Problems with Run()

Posted: Thu Apr 28, 2016 5:46 am
by PEB
There seems to be a problem with Run() always causing system errors.

At least on the OS4 version of Hollywood, this causes a Grim Reaper error to appear:

Run("Sys:Prefs/Locale")

Execute() does not share the same problem.

Re: Problems with Run()

Posted: Thu Apr 28, 2016 7:19 pm
by jPV
Yes, it seems to hit on MorphOS too (log). The wanted program starts, but hit in the log, so it doesn't behave correctly.

Re: Problems with Run()

Posted: Fri Apr 29, 2016 4:30 pm
by airsoftsoftwair
Yes, this is indeed a bug in Hollywood 6.1 but only MorphOS and OS4 are affected. To workaround it, install a dummy listener for "RunFinished", i.e.

Code: Select all

InstallEventHandler({RunFinished = Function(msg) EndFunction})
This should do the trick.

Re: Problems with Run()

Posted: Sat Apr 30, 2016 1:42 am
by PEB
Yep, that works.
Thanks for the easy work-around!

Re: Problems with Run()

Posted: Mon May 09, 2016 3:16 am
by marko
InstallEventHandler({RunFinished = Function(msg) EndFunction})
Yep that worked for me too, thanks!