Performs an operating system call and returns the resulting errorcode.
number = system(string command)
Parameter Description command Operating system command to be executed.
Returns the errorcode after execution of command.
This function does not include or easily allow any sophisticated methods such as piping, signal handling, or interactivity.
The following example demonstrates a way to list a directory and then read the results.
system("ls"+" -l"+" > x.txt");
x=file.read("x.txt");
print(x);
file.unlink("x.txt");