I am developing an application on MAC OS . It needs to run continously i.e. if someone kills it , it has to restart on its own . I found a similar behavior in the Finder application in MAC. How can I implement this ???
Currently, I am using launchctl for this purpose but I am facing some problems with permissions and communication
launchctl
is the way to do it. In order to get it set up, you need to understand about authorization services. The Authorization Services Programming Guide is a good place to start.