You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kill(0, $pid) is often used to check if a process exists and can be signaled. The current version of autodie (2.19) dies if $pid doesn't exist or can't be signaled by the current user. When the signal number is 0, autodie should not die.
On Tue Jun 18 10:54:44 2013, JSIRACUSA wrote:
> kill(0, $pid) is often used to check if a process exists and can be
> signaled. The current version of autodie (2.19) dies if $pid doesn't
> exist or can't be signaled by the current user. When the signal
> number is 0, autodie should not die.
For reference: This is (now?) also filed on github as issue #47[1]
~Niels
[1] https://github.com/pjf/autodie/issues/47
On Tue Oct 07 11:12:11 2014, [email protected] wrote:
> For reference: This is (now?) also filed on github as issue #47[1]
Still happening nearly 5 years after this announcement. Will the fix be rolled out any time soon?
njh@microcenter:/tmp$ cat autodie
#!/usr/bin/env perl
use strict;
use warnings;
use autodie qw(:all);
if(kill(0, 10000)) {
print "there\n";
}
print "done\n";
njh@microcenter:/tmp$ ./autodie
Can't kill('0', '10000'): No such process at ./autodie line 7
njh@microcenter:/tmp$
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#86238 (status was 'open')
Requestors:
From [email protected] on 2013-06-18 14:54:44
:
From [email protected] on 2014-10-07 15:12:11
:
From [email protected] on 2019-06-05 16:17:51
:
From [email protected] on 2019-06-05 16:22:49
:
The text was updated successfully, but these errors were encountered: