lang2
lang2

Reputation: 11986

signal and child process

A quick and hopefully easy question.

I have a process A, which forks a process B. When I send a signal, e.g SIGINT, will both A and B receive it?

Thanks,

Upvotes: 0

Views: 121

Answers (1)

Chris
Chris

Reputation: 2060

Short answer: No.

From the moment fork was successful, those process will be independent from each other (except for wait() and stuff like that)

Upvotes: 1

Related Questions