How to check if service is enabled with launchd
- by spartygw
I can't figure out how to check from within C/C++ if a service is enabled via launchd. I know I can use launchctl from the command line and am currently executing ' launchctl list myServiceName ' from fork/exec.
I've found that boostrap_look_up() might be the way to check this but I can't find enough documentation to condense this down to a…