开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜