On Wed Feb 26 06:04:15 2014, davem wrote: > On Tue, Feb 25, 2014 at 05:10:33PM -0800, bulk88 via RT wrote: > > While writing a test for this, I discovered another bug or issue in > > Win32 PG kill. PG kill is supposed to return the number of processes > > "signaled" (is this a synonym for "killed" on Win32 platform?) per > > perldoc > > ------------------------------------------------ > > 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). > > ----------------------------------------------- > > > > My testing shows the retval in PP of PG kill in 5.12.2 is always 1. > > 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. -- bulk88 ~ bulk88 at hotmail.com --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=121230Thread Previous | Thread Next