run

Runs the given command using the user's shell.

int
run
(
string cmd
)

Parameters

cmd string

The command to execute.

Return Value

Type: int

The exit code from the command. Generally, 0 indicates success. If the process could not be started, -1 is returned.

Meta