in reply to Unix process number on a mac...
What are you trying to do? If you just want to check if the process is still running, use kill() with the 0 signal. It tells you if the process is still running. If it isn't running, just restart it.
kill 0, $pid;
--
brian d foy <bdfoy@cpan.org>
brian d foy <bdfoy@cpan.org>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Unix process number on a mac...
by zakzebrowski (Curate) on Mar 16, 2005 at 02:50 UTC |
In Section
Seekers of Perl Wisdom