[REBOL] launch behaviour and quitting
From: arolls:bigpond:au at: 4-Jun-2001 15:40
I disagree with the current launch behaviour,
where a launched program can't launch another.
This is to prevent launch loops, it is said.
But we can still have 'do loops.
A done program can still 'do another.
And that is useful.
It's useful to have loops.
Think of a web browser: a page has a link to
another page which links back to the first
one. That's a good thing.
I suggest allowing launching of programs
to a certain limit, say 10, after which
you could pop a window which says:
Script requests permission to launch
Yes No YesToAll Quit
(or just an error message could be better).
Otherwise it is difficult to make your
own launcher which is itself launched.
ie. from my reb-site:
Click on the "start" icon to start my mini-launcher.
It does its best to launch other programs.
The problem is that those programs have the
capability to 'quit.
For example: click on the second icon under
You can quit this program in two ways:
- press "Quit" button (quits everything)
- press window close button (continues with calling
I would like to know if there is a command I can use
in a script which allows me to quit as if I had pressed
the close button in the window.
ie. "continue from the bottom of this script"
If there isn't one I suggest a refinement of 'halt:
What do you reckon?