Skip Menu |

This queue is for tickets about the Unix-PID CPAN distribution.

Report information
The Basics
Id: 64190
Status: resolved
Priority: 0/
Queue: Unix-PID

People
Owner: Nobody in particular
Requestors: mcartmell [...] inview.co.uk
Cc:
AdminCc:

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



Subject: is_running(PID) does not work correctly
Date: Fri, 24 Dec 2010 01:59:43 -0800
To: "bug-Unix-PID [...] rt.cpan.org" <bug-Unix-PID [...] rt.cpan.org>
From: Michael Cartmell <mcartmell [...] inview.co.uk>
Calling $pid->is_running() with the PID as the argument does not seem to work. It looks like there's a problem with the regex (missing backslash on d+ - should be \d+) From the docs: "$pid->is_running() If the first argument is all digits then this it calls $pid->is_pid_running for you. Otherwise it calls $pid->is_command_running() for you." Calling $pid->is_pid_running() instead works. Cheers Mike
Subject: Re: [rt.cpan.org #64190] is_running(PID) does not work correctly
Date: Fri, 24 Dec 2010 11:36:54 -0600
To: bug-Unix-PID [...] rt.cpan.org
From: Dan Muey <webmaster [...] simplemood.com>
thanks, just sent update to CPAN :) thanks! On Dec 24, 2010, at 3:59 AM, Michael Cartmell via RT wrote: Show quoted text
> Fri Dec 24 04:59:54 2010: Request 64190 was acted upon. > Transaction: Ticket created by mcartmell@inview.co.uk > Queue: Unix-PID > Subject: is_running(PID) does not work correctly > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mcartmell@inview.co.uk > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=64190 > > > > Calling $pid->is_running() with the PID as the argument does not seem to work. It looks like there's a problem with the regex (missing backslash on d+ - should be \d+) > > > > From the docs: > > > > "$pid->is_running() > > > > If the first argument is all digits then this it calls $pid->is_pid_running for you. Otherwise it calls $pid->is_command_running() for you." > > > > Calling $pid->is_pid_running() instead works. > > > > Cheers > > > > Mike