Skip Menu |

This queue is for tickets about the File-Pid CPAN distribution.

Report information
The Basics
Id: 96773
Status: new
Priority: 0/
Queue: File-Pid

People
Owner: Nobody in particular
Requestors: jeremy.fusco [...] footclan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: sub running doesn't account for inability to send signals to running process.
Date: Fri, 27 Jun 2014 10:39:59 -0700
To: bug-File-Pid [...] rt.cpan.org
From: Jeremy Fusco <jeremy.fusco [...] footclan.org>
The subroutine that checks for a running process. Does not take into account a process that may be running, but that the kill function cannot send a signal too. That is, a different user or even root started process. sub running { my $self = shift; my $pid = $self->_get_pid_from_file; return kill(0, $pid) ? $pid : undef; }