system() executes a command specified in command by calling /bin/sh -c command, and returns after the command has been completed.
linux.die.net