[REBOL] Solution: Launch Programs from REBOL/View Re:(2)
From: jsc:dataheaven at: 28-Sep-2000 7:57
My first Idea was to use the "browse" function:
you can say:
browse "http://www.rebol.com"
and if your system is properly configured a web-browser will pop-up.
Under UN*X REBOL/View is using netscape.
So netscape will be startetd by following command triggered through
REBOL:
/usr/local/bin/netscape -remote "openURL(http://www.rebol.com, new-window)"
but if you use browse _this_ way:
browse "myapp par1 par2 par3"
it will try following:
/usr/local/bin/netscape -remote "openURL(myapp par1 par2 par3, new-window)"
What we would have to do, is to replace netscape by a simple shell-script
that cuts out the URL part of the command args and then launches the
application therein.
Some minutes ago I'd another Idea that enables us to run programs with all
REBOL-releases. (I don't no why nobody else had the idea)
In the REBOL-Library lies a cute little script namely "little-bell.r"
This script implements a little telnet-client. By using this code we are able
to launch programs on all computers that have telnet access!!!
Regards
Jochen