The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-05-2008
shamrock shamrock is offline
Registered User
 

Join Date: Oct 2007
Location: USA
Posts: 500
The sequence is pipe() / fork() / exec() / waitpid(). Last call reads the exit status of the child process. Use of system() is discouraged as it's costly and resource intensive.
Reply With Quote