Try changing
if ($psaxline =~ "$process") {
to
if ($psaxline =~ m!$process!) {
If you want to use the =~ operator, you need to use it in conjunction with a regex.
In reply to Re: Checking a running daemon
by BrowserUk
in thread Checking a running daemon
by Kickstart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |