Re: Comportement de bash: kill des fils

Pàgina inicial

Reply to this message
Autor: ML Guilde
Data:  
A: guilde
Assumpte: Re: Comportement de bash: kill des fils
On Wednesday 07 January 2004 10:32, nt.guilde@??? wrote:

> Sous bash interactive, mes essais montrent qu'il est de'livre' a` tous
> les processus du groupe.


Le mieux est de lire la page de manuel de kill(2). Extrait:

       The kill system call can be used to send any signal to any
       process group or process.


       If pid is positive, then signal sig is sent to pid.


       If pid equals 0, then sig is sent to every process in  the
       process group of the current process.


       If pid equals -1, then sig is sent to every process except
       for the first one.


       If pid is less than -1, then sig is sent to every  process
       in the process group -pid.


       If sig is 0, then no signal is sent, but error checking is
       still performed.


Ca aide a comprendre comment fonctionne la commande kill(1)

--
Frederic