[REBOL] Re: launch (view 1.2.1)
From: carl:cybercraft at: 24-Dec-2003 22:17
On 08-May-03, Anton wrote:
> That's a very nifty trick, Carl.
> How did you figure that out?
I didn't - someone else here mentioned it a while back. Whether it's
intentional behaviour or an oversight on RT's part would be
interesting to know, though.
Carl.
> Anton.
>> > 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 ...
>> my-launch: :launch
>> and then change second.r to...
>> my-launch %first.r
>> and it should work. (Well, it does for me, anyway.)
>> Hope that helps...
>> --
>> Carl Read
--
Carl Read