Problems with Run()

Report any Hollywood bugs here
Post Reply
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Problems with Run()

Post 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.
User avatar
jPV
Posts: 603
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: Problems with Run()

Post 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.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problems with Run()

Post 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.
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Re: Problems with Run()

Post by PEB »

Yep, that works.
Thanks for the easy work-around!
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

Re: Problems with Run()

Post by marko »

InstallEventHandler({RunFinished = Function(msg) EndFunction})
Yep that worked for me too, thanks!
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
Post Reply