Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Unix process number on a mac...

by Tuppence (Pilgrim)
on Mar 16, 2005 at 18:57 UTC ( #440094=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unix process number on a mac...
in thread Unix process number on a mac...

Yes, your kill 0, $pid is indeed a much better solution.

The only reason to extract the PID with my solution is to check it against the PID that you have stored, which as you say isn't that great when we can just ask the system directly.

It still would have worked tho :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://440094]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-01-19 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?