REBOL Programming/run

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

RUN file /as suffix 

DESCRIPTION:[edit]

Runs the system application associated with a file.

RUN is a native value.

ARGUMENTS[edit]

  • file -- The file to open (file, URL) or command to run (string). (Type: file url string)

REFINEMENTS[edit]

  • /as
    • suffix -- (Type: string file)

SOURCE CODE[edit]

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!]
]