<div dir="ltr"><div>In macOS 10.12&#39;s ServiceManagement/ServiceManagement.h the following functions are marked as deprecated since macOS 10.10:</div><div><br></div><div>- SMJobSubmit</div><div>- SMJobRemove</div><div>- SMCopyAllJobDictionaries</div><div><br></div><div>The header mentions replacements will be provided by libxpc. Are replacements available or on the way?</div><div><br></div><div>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.</div><div><br></div><div>I believe this can now be done with `launchctl bootstrap|bootout gui/&lt;uid&gt;` on the command line. Should the daemon call out to the launchctl tool?</div><div><br></div><div>Kind regards,</div><div><br></div><div>Graham</div></div>