In macOS 10.12's ServiceManagement/ServiceManagement.h the following
functions are marked as deprecated since macOS 10.10:
The header mentions replacements will be provided by libxpc. Are
replacements available or on the way?
I have a system wide daemon that would like to programmatically launch a
process in a graphical user session. At the moment, our LaunchAgents
managed helper process is always running. Ideally, it would be good to
launch and exit the helper on-demand.
I believe this can now be done with `launchctl bootstrap|bootout gui/<uid>`
on the command line. Should the daemon call out to the launchctl tool?
launchd-dev mailing list