[REBOL] Re: No launch
From: agem:crosswinds at: 12-Apr-2001 2:51
but >From: "Ricky Sandblom"
>> Hi
>>
>> "Launch" don't work when the script is started from an icon.
>> It is used in the demo100.r script.
>> Maybe it's a known "bug" since you have to start the demo from a
console.
>>
>> // Ricky
>
>Looking at your email headers, it appears as though you are using
Windows.
>I use Win98 and when I click on the actual file name, the script runs
>correctly. Are you referring to the same thing when you say "from an
icon"?
>--Scott Jones
>
maybe i understand your problem wrong -
your "start from an icon" is clicking on an rebol-script which starts
rebol?
in the betas launch is disabled if rebol is startet with a script as
argument.
this is for the beta-testpanel, where the demo counld launch other
scripts,
but the scripts itself could not launch.
rebol-designers where very sceptical in allowing rebol-scripts to start
other rebols.
launch was a workaround to enable starting scripts without security-
risks.
(the very first launch was able to pass "-s" to a launched script,
setting its security
to none.. so it was disabled for launched scripts.)
in 1.0 the testpanel is dropped for a while and the old launch-behavior
keept.
BTW you can hack it as "%user.r -owner".
if you do [hack-launch: :launch] in %user.r you should have a working
launch in 'hack-launch
(at least when i tried it some month ago).
if you dont keep it, there is no way to get launch back for a script of
course (AFAIK:).
but if you should do..?