• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: launchctl agents unload clean up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: launchctl agents unload clean up
      • From: Fritz Anderson <email@hidden>
References: 
 >Re: launchctl agents unload clean up (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Safari downloader-like behavior
  • Next by Date: Re: Safari downloader-like behavior
  • Previous by thread: Re: launchctl agents unload clean up
  • Next by thread: Re: launchctl agents unload clean up
  • Index(es):
    • Date
    • Thread