Hello Everyone,

I tried finding answer to this question in many books but never quite got a satisfactory answer to this question.

A fork process would replicate it parent, my question is
  1. Why is fork necessary to create a process. Why replicate a existing process before creating a new process.
  2. The exec algorithm is executed after fork which overrides what fork has done, then why do fork. Why can't we directly do exec.
--
Cheers !!!
Chaitannya

follow me on twitter http://twitter.com/chaitannya

I believe there's a hero in all of us
who keeps us honest, gives us strength, makes us noble, and finally allows us to die with pride,
even though sometimes we have to be steady, and give up the thing we want the most... even our dreams.
- Spider Man 2
-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to