REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: launch

launch  script  /args  arg

Runs a script as a separate process; return immediately.

Arguments:

script [file! string! none!] - The name of the script

Refinements:

/args

arg [string! block! none!] - Arguments to the script

See also:

call   do  

Note this special requirement:

Security

In order to use launch, you must have secure call enabled.

Description

The LAUNCH function is used to run REBOL scripts as a separate process. When LAUNCH is called, a new process is created and passed the script file name or URL to be processed. The process is created as a subprocess of the main REBOL process.

Launch has certain restrictions depending on the REBOL system used. Also, within Unix/Linux systems, launch will use the same shell standard files as the main REBOL process, and output will be merged.

launch %calculator.r

launch http://www.rebol.com/scripts/news.r


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin