The UNIX and Linux Forums
>
Top Forums
>
High Level Programming
How to launch a new process
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
How to launch a new process
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-05-2008
shamrock
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.
shamrock
View Public Profile
Find all posts by shamrock