Linux fork within class on heap
问题 What happens when I have the following situation: class A: holds on to dynamically allocated object B's. It will create and destroy these. class B: has an execute function called by A. Execute will fork() and the child will use execvp to run another process. BUT, a flag can be set so that the parent will not wait for the child (allows it to run in the background). My question is, what is fork doing in this case? I know that the child has a complete copy of the process of the parent, but I'm a