Rev Language Reference


system - Execute a system command.

Run a system command.

Usage

system(String command)

Arguments

command : String (pass by value)
The system command to execute.

Return Type

Details

This function will delegate the command to the system. In that way, the function works as an interface to the shell.

Example

# We can execute any command just as if you are using a terminal
system("ls")
system("pwd")