Does a parent and child still share signal controls if a child overlays image with exec()?
I think the question says it all. I w开发者_Go百科ant to send signals to a child after the child executes another program, but I am unsure if the child and parent still share signals after the image is destroyed and overlayed. I believe the parent and child still share signals and files, is this true?
After exec
the child will still have the same pid and you can send signals to that pid, but any handlers that existed are gone. The child would have to set up explicit handlers itself.
精彩评论