Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

No launch

 [1/7] from: ricky:rixtele at: 11-Apr-2001 19:44


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

 [2/7] from: gjones05::mail::orion::org at: 11-Apr-2001 17:16


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

 [3/7] from: carl:rebol at: 11-Apr-2001 20:47


Launch has a rule: you can only launch from the main REBOL process. This prevents launch loops. The desktop will help with this. 1.1 coming soon. -Carl

 [4/7] 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..?

 [5/7] from: ricky:rixtele at: 13-Apr-2001 14:03


You're right. I use Win98 and when i try to start Rebol by clicking on the script the launch command don't execute.

 [6/7] from: ricky:rixtele at: 13-Apr-2001 15:19


I tried this from console:
>> do %demo100.r
works as expected.
>> launch %demo100.r
demo starts but, as stated, the launch won't perform inside the script. When I start it by clicking on the file it behaves as if it has been launched. It should be the main process but it don't act as one. I'm looking forward to use the desktop. It looks nice. // Ricky

 [7/7] from: ricky:rixtele at: 13-Apr-2001 16:35


So it's a security issue. A slightly safer rebol but not so easy to use. Maybe the desktop solves it all. Yes, hack-launch still works. Interesting but not recomended. // Ricky