I am a cocoa beginner and am trying to build an app for personal use, to manage local Apache/MySQL processes. I want to check if httpd (/usr/sbin/httpd) is running. I searched and found some hints pointing to NSTask and isRunning method, but could not get it to run.
How can I check to see if this process is running?
Besides, is this a reliable way to check whether OSX built-in Apache is running?
Thanks for any help.