develooper Front page | perl.perl5.porters | Postings from March 2014

Re: [perl #121230] process group kill on Win32 broken in 5.17.2,regression 5.18

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
March 17, 2014 16:51
Subject:
Re: [perl #121230] process group kill on Win32 broken in 5.17.2,regression 5.18
Message ID:
20140317165102.GJ1615@iabyn.com
On Wed, Feb 26, 2014 at 03:16:25PM -0800, bulk88 via RT wrote:
> > I think the perl docs are misleading. It's not supposed to indicate
> > the total *processes* killed - UNIX certainly doesn't provide this info
> > when killing groups - but rather the number of 'kills' in the list
> > that were successful. i.e.
> > 
> >     kill $SIG, $proc1, $proc2, $no_such_process;
> > 
> > returns 2.
> > 
> 
> Patch for POD.

>  Sends a signal to a list of processes.  Returns the number of
>  processes successfully signaled (which is not necessarily the
> -same as the number actually killed).
> +same as the number actually killed) from the list of processes supplied.

Thanks. However, I ended up rewording it again as follows, with 12733a03,
since I think the process / process group distinction still wasn't clear
enough.

-Sends a signal to a list of processes.  Returns the number of
-processes successfully signaled (which is not necessarily the
-same as the number actually killed).
+Sends a signal to a list of processes.  Returns the number of arguments
+that were successfully used to signal (which is not necessarily the same
+as the number of processes actually killed, e.g. where a process group is
+killed).

-- 
In England there is a special word which means the last sunshine
of the summer. That word is "spring".

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About