exec() and system() I believe are the two functions.
If I remember correctly, exec runs the program and never returns, whereas system runs the program and does return.
The parameters for both I think are just the name of the command on the console.
-GL