execute()
Execute system command. This is similar to C/C++'s system()
function
execute(command, wait = true)
command
(string) — Command to be executedwait
(boolean) — Wait for command to finish. The default value is true
number
— Returns status code returned by the called command if wait
is true
. And always returns 0 if wait
is false
execute("ls -al")