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.


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



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

See also:

call   do  

Note this special requirement:


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


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


  TOC < Back Next > - WIP Wiki Feedback Admin