system(string) executes a shell command line. The input and output of that command communicates directly with the standard input and output of the main process. system(string) returns the exit code of the shell command.