Possible Duplicate:
How does system() exactly work in linux?
For the sake of my curiosity,
I want to know that how does system() function spawn the process and its internal implemenation ?
Is is using fork , exec internally ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On my Debian box it uses clone() that itself calls sys_clone(). You can use strace to look at system calls.