[REBOL] Re: launch (view 1.2.1)
From: carl::cybercraft::co::nz at: 24-Dec-2003 22:17
On 06-May-03, ReViewer wrote:
> I've just made 2 micro programs:
> print "hello!"
> launch %first.r
> Using View 1.2.1, I get an alert saying: "Launch can only be used by
> launcher programs." and first.r isn't executed. If I open a console,
> typing "launch %first.r" works indeed.
> What does it mean? Is it forbidden to launch other rebol interpretor
> within a rebol script?
> Does it work only with Pro features?
I'm not sure whether it would work under Pro, but there is a trick to
get around the problem for you. If you create a copy of launch in
your user.r script and use that, then it'll work. (Others can
explain the why;)
So, add a line something like this to your user.r ...
and then change second.r to...
and it should work. (Well, it does for me, anyway.)
Hope that helps...