J
Joe Van Dyk
If I have the id of a process, how can I get a Process::Status object for it?
Thanks,
Joe
Thanks,
Joe
If I have the id of a process, how can I get a Process::Status object for it?
Thanks,
Joe
Joe said:If I have the id of a process, how can I get a Process::Status object for it?
Thanks,
Joe
Calling Process#wait should set $? which is the Status object
for the given pid.
On Linux at least, you can send signal 0 to determine whether aThat's not quite what I asked for. I have the pid of a specific
process and I need to find out its status (whether or not it's running
or not).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.