411 REFERENCE · Wikibooks
Rebol Programming/call
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
CALL cmd /input in /output out /error err /wait /console /shell /info /show
DESCRIPTION:
Executes a shell command to run another process.
CALL is a native value.
ARGUMENTS
cmd -- The shell command or file (Type: string file block)
REFINEMENTS
/input -- Redirects in to stdin
in -- (Type: any-string port file url none)
/output -- Redirects stdout to out
out -- (Type: string port file url none)
/error -- Redirects stderr to err
err -- (Type: string port file url none)
/wait -- Runs command and waits for exit
/console -- Runs command with I/O redirected to console
/shell -- Forces command to be run from shell
/info -- Return process information object
/show -- Show the output in a console window
SOURCE CODE
call: native[
"Executes a shell command to run another process."
cmd [string! file! block!] "The shell command or file"
/input "Redirects in to stdin"
in [any-string! port! file! url! none!]
/output "Redirects stdout to out"
out [string! port! file! url! none!]
/error "Redirects stderr to err"
err [string! port! file! url! none!]
/wait "Runs command and waits for exit"
/console "Runs command with I/O redirected to console"
/shell "Forces command to be run from shell"
/info "Return process information object"
/show "Show the output in a console window"
]