Options

  • system
  • fork/execv
  • spawn

Reference

  • http://stackoverflow.com/questions/5460421/how-do-you-write-a-c-program-to-execute-another-program
  • http://stackoverflow.com/questions/5237482/how-do-i-execute-external-program-within-c-code-in-linux-with-arguments
  • http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1044654269&id=1043284392