J
Joe Van Dyk
Hi,
How can I launch a program from Ruby and monitor it to see if it's
running? On a unix platform.
I assume I'd probably need to launch the program, capture the pid of
the started process somehow, and start a thread that monitors the
/proc directory to see if the pid is in there?
Thanks,
Joe
How can I launch a program from Ruby and monitor it to see if it's
running? On a unix platform.
I assume I'd probably need to launch the program, capture the pid of
the started process somehow, and start a thread that monitors the
/proc directory to see if the pid is in there?
Thanks,
Joe