Question by Heart of the Matter: In Linux what happens to the parent process when the child process executes?
yes it is a question for school, but I would like to know the answer also…
I have tried googling it, but this question must be too basic or something, because I get a lot of complex answers about security glitches and people taking over root access and such…instead of me being able to find out the simple thing that happens…
also it is not in my book…
Answer by Rose D
I believe it depends upon how you spawn the child process – are you talking about threading, forking or cloning?
These should give you some basic ideas, or at least pointers for better searches:
Know better? Leave your own answer in the comments!