Sophie

Sophie

distrib > Mageia > 9 > x86_64 > media > core-release > by-pkgid > 0584fa107b6ee668aa4be4008586c7cb

perl-File-Pid-1.10.0-10.mga9.noarch.rpm

Description:

This software manages a pid file for you. It will create a pid file, query
the process within to discover if it's still running, and remove the pid
file.

new
my $pidfile = File::Pid->new;

my $thisfile = File::Pid->new({
file => '/var/run/daemon.pid',
});

my $thisfileandpid = File::Pid->new({
file => '/var/run/daemon.pid',
pid => '145',
});

This constructor takes two optional parameters.

Sources packages:

Other version of this rpm: