Communicate with containing app after Mac restart

I configured my VPN to be 'on-demand' and I restarted my Mac. After the restart, my Packet Tunnel Provider started (it was called by the OS, because of the on-demand). The containing app is inactive - it's open (the icon is at the menu bar, with a circle at the bottom) but 'applicationDidFinishLaunching' is not being called.

Is there any way I can 'force start' the containing app? Any way will be good - if it's by sending a message from the provider, or if it's possible to programmatically ask the OS to start the containing app after Mac restart..

  • Edit: I'm talking about system-extension, distributed outside the App Sore, with a custom installer.

Add a Comment

Replies

If you have a helper app that runs as part of your infrastructure, you could try use that app to start your container app. What are you in need of doing with the launch of the container app?

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com