signal and child process
A quick and hopefully easy question.
I have a process A, which forks a开发者_Go百科 process B. When I send a signal, e.g SIGINT, will both A and B receive it?
Thanks,
Short answer: No.
From the moment fork was successful, those process will be independent from each other (except for wait() and stuff like that)
精彩评论