system method

int system(
  1. String command
)

Executes a system command. Passes the command to the system shell and returns the exit code. Throws UnsupportedError on platforms without shell access (e.g., Web).

Implementation

int system(String command) {
  return stdlibSystem(command);
}