[launchd-dev] launch_msg("CheckIn") IPC failure: Operation not permitted

Dave MacLachlan dmaclach at gmail.com
Thu Aug 26 22:48:16 PDT 2010


On Aug 26, 2010, at 22:25 , Thomas Bartelmess wrote:

> Hi everyone,
>
> I am trying to check in a daemon, with liblaunch. But I am always  
> getting a IPC failure.
> For now I just tried the samplecode in sampled.c
>
> It's just creating a launch_data_t wiht  
> launch_data_new_string(LAUNCH_KEY_CHECKIN);  and tries to get a  
> response (launch_msg(msg))) but that returns a NULL and no response.
>
> Could somebody give me a hint how to do that.
>
> Thanks
>
> Thomas

I know it's "old_skool" but does bootstrap_check_in work for you?

Cheers,
Dave



More information about the launchd-dev mailing list