[launchd-dev] launchctl bsexec and El Capitan follow up Q

Gregory Neagle gregneagle at mac.com
Sat Jul 18 09:06:39 PDT 2015


In order to install some Adobe products when there is no GUI user currently logged in, it has been necessary to use `launchctl bsexec` to run the installation process in the same context as the loginwindow.
Adobe documents this technique here: http://www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/AAMEE_Exception/en_us/AAMEE_Exceptions_v2_1.pdf <http://www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/AAMEE_Exception/en_us/AAMEE_Exceptions_v2_1.pdf>

Here is an example from that document:

sudo launchctl bsexec `ps auwwx |grep [l]oginwindow | awk '{ print $2 }'` Adobe\ AIR\ Installer.app/Contents/MacOS/Adobe\ AIR\ Installer -silent

With the SIP and launchd changes in El Capitan, is there an equivalent? Though I would hope Adobe would fix their installers to not need these silly hacks, even if they do in the future, that’s not going to help the install of current and recent releases.

-Greg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/launchd-dev/attachments/20150718/a079725c/attachment.html>


More information about the launchd-dev mailing list