| |||
| Home > Common API > Accessing environment variables > system() | |||
int system(string cmd_str)
system() synchronously passes the string to
the environment (host operating system) for execution. Because the
call is synchronous, the script does not return from this function
until the command in cmd_str has completed.cmd_str
If is "" (empty
string) and there is a command processor, cmd_strsystem() returns
a non-zero value.
If is
not "" (empty string), the return value is implementation-dependent.cmd_str