Jump to content

Rebol Programming/run

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
RUN file /as suffix 

DESCRIPTION:

[edit | edit source]

Runs the system application associated with a file.

RUN is a native value.

ARGUMENTS

[edit | edit source]
  • file -- The file to open (file, URL) or command to run (string). (Type: file url string)

REFINEMENTS

[edit | edit source]
  • /as
    • suffix -- (Type: string file)

SOURCE CODE

[edit | edit source]
run: native[
    {Runs the system application associated with a file.} 
    file [file! url! string!] {The file to open (file, URL) or command to run (string).} 
    /as suffix [string! file!]
]