Re: launchctl agents unload clean up
Re: launchctl agents unload clean up
- Subject: Re: launchctl agents unload clean up
- From: Rajendran P <email@hidden>
- Date: Wed, 07 Dec 2011 12:15:53 +0530
- Acceptlanguage: en-US
- Thread-topic: launchctl agents unload clean up
My problem is that applicationWillTerminate is not being invoked when my launch agent is manually unloaded . My application is uielement with out dock entry . I am able to do a signal handling , low level unix signal handling like sigkill , sighup etc .
Thanks
Rajendran P
On 12/4/11 5:45 PM, "Jerry Krinock" <email@hidden> wrote:
On 2011 Dec 02, at 04:39, Rajendran P wrote:
> i need to do some clean up on launchctl unload of my agent (cocoa application with minimal ui ).
>
> - (void)applicationWillTerminate:(NSNotification *)aNotification does not seems to be working any other solution ?
Rajendran, you did not provide enough information.
If your problem is that -applicationWillTerminate: is not being invoked, then please state that and re-post.
If your problem is that launchctl is not working as expected, then you should try to execute your launchctl command in Terminal.app.
If launchctl is not working as expected, post the code you are using and your Terminal.app test results to a different list,
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden