| 1 |
###################################################################### |
| 2 |
Proc::Simple CHANGES |
| 3 |
###################################################################### |
| 4 |
|
| 5 |
1.32 (2015/11/15) |
| 6 |
(ms) [rt.cpan.org #108215] open() calls now use the safe form. |
| 7 |
|
| 8 |
1.31 (2012/11/17) |
| 9 |
(ms) To better deal with the race condition in the |
| 10 |
previous release, kill the newly created child |
| 11 |
process first, then send a killpg to its process |
| 12 |
group and ignore the outcome. |
| 13 |
|
| 14 |
(ms) [RT 81203] Jim A Kessler reported a perl 5.16 issue |
| 15 |
with the "AutoLoader" line, so I went ahead and removed |
| 16 |
all references to "Exporter" and "AutoLoader", as |
| 17 |
Proc::Simple isn't using them at all. |
| 18 |
|
| 19 |
From 1.29: |
| 20 |
[RT 69782] Zefram reported race condition in t/sh-c.t, |
| 21 |
fixed by adding polling loop. |
| 22 |
|
| 23 |
Found that kill(-sig, pid) sometimes fails with |
| 24 |
'process id not found' although a previous kill(0, pid) |
| 25 |
succeeded. This is a race condition condition caused |
| 26 |
by a newly forked child that hasn't called setsid() yet |
| 27 |
and therefore its new process group id doesn't exist yet, |
| 28 |
although the child responds to poll(). kill() now |
| 29 |
deals with this case. |
| 30 |
From 1.28: |
| 31 |
[RT 69103] Typo fix by Salvatore Bonaccorso |
| 32 |
Added support for processes called via 'sh -c' by |
| 33 |
system() (see "Shell Processes" note in the manpage). |
| 34 |
From 1.27: |
| 35 |
[RT 62802] Pod fix by Salvatore Bonaccorso |
| 36 |
[RT 63833] Applied patch to stop reaping PIDs of |
| 37 |
no longer existing processes (submitted by perlbotics). |
| 38 |
Added licensizer |
| 39 |
[RT 63833] (second part) Added cleanup() class method |
| 40 |
to delete timing data of reaped processes, avoiding |
| 41 |
infinite memory growth on long-running processes |
| 42 |
|
| 43 |
From 1.26: [RT 62285] Pod fix for redirect_output() |
| 44 |
Fixed github link |
| 45 |
|
| 46 |
from 1.25: Localize special variables so that the exit status |
| 47 |
from waitpid doesn't leak out, causing exit status |
| 48 |
to be incorrect (RT33440, fixed by Brad Cavanagh). |
| 49 |
|
| 50 |
from 1.24: Added copyright header |
| 51 |
|
| 52 |
from 1.23: Applied doc patch by Janne Chr. Schulz |
| 53 |
|
| 54 |
from 1.22: Applied patch by Jeff Holt, providing start |
| 55 |
and end time of the forked process via t0() and t1(). |
| 56 |
|
| 57 |
from 1.21: Added patch by Chip Capelik to provide a wait() |
| 58 |
method waiting for a process to terminate. |
| 59 |
|
| 60 |
from 1.20: Added patch by Tobias Jahn <[email protected]>, |
| 61 |
to redirect STDOUT or STDERR of the child process upon |
| 62 |
request. |
| 63 |
|
| 64 |
from 1.19: Fixed bug which occurred on failed fork()s, as |
| 65 |
reported anonymously on the CPAN bug tracker. |
| 66 |
|
| 67 |
from 1.18: Added multi-arg start method (proposed by |
| 68 |
Clauss Strauch <[email protected]>) |
| 69 |
|
| 70 |
from 1.17: Fixed Version difference between Makefile.PL |
| 71 |
and Simple by using VERSION_FROM (thanks |
| 72 |
Andreas Koenig) |
| 73 |
|
| 74 |
from 1.16: Fixed bug with Proc::Simple instances which |
| 75 |
were DESTROYED before they were ever started. |
| 76 |
Many thanks to Russell Fulton ([email protected]) |
| 77 |
for pointing this out. |
| 78 |
|
| 79 |
from 1.15: Added %DESTROYED hash for processes which might |
| 80 |
still in zombie state right after their objects |
| 81 |
went out of business. THE_REAPER will take care |
| 82 |
of them. |
| 83 |
|
| 84 |
from 1.14: Added exit_status() method and a smart |
| 85 |
REAPER which reaps only processes we've started before. |
| 86 |
|
| 87 |
from 1.13: Replaced two erronous uses of 'exists' by 'defined'. |
| 88 |
Thanks to [email protected] for pointing this |
| 89 |
out. |
| 90 |
from 1.12: To fight problems with zombies, replaced the wait() |
| 91 |
function by a NOWAIT waitpid on systems that |
| 92 |
support it. |
| 93 |
|
| 94 |
Tim Jenness <[email protected]> included |
| 95 |
kill_on_destroy/sig_on_destroy/pid methods. |
| 96 |
|
| 97 |
from 1.11: binkley's error: threw out waitpid, wait is |
| 98 |
performed by signal handler now. |
| 99 |
|
| 100 |
from 1.1: Process is now called Proc::Simple to fit in the |
| 101 |
CPAN namespace, corrections Andreas Koenig suggested. |
| 102 |
|
| 103 |
First Release: 05/22/96 |
| 104 |
|
| 105 |
Michael Schilli [email protected] |