system
system - run a separate program
system LIST
Does exactly the same thing as ``exec LIST'' except that a fork is done
first, and the parent process waits for the child process to complete.
Note that argument processing varies depending on the number of
arguments. The return value is the exit status of the program as
returned by the
wait()
call. To get the actual exit value divide by
256. See also
exec
. This is NOT what you want to use to capture
the output from a command, for that you should merely use backticks, as
described in ```STRING`''.