CC: | srezic [...] iconmobile.com |
Subject: | no_pid => 0 and different users |
I think it's possible to check for the existance of a process by pid
even if the user is different. "perldoc perlipc" proposes this snippet:
unless (kill 0 => $pid or $!{EPERM}) {
warn "$pid looks dead";
}
Regards,
Slaven