Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Use launchctl to obtain session bus address on OS X #29

Closed
wants to merge 1 commit into from

Conversation

jessevdk
Copy link
Contributor

The "standard" way to launch dbus on OS X is through launchd which
is responsible for allocating a unix domain socket and then passing
it to dbus. This patch splits out a platform specific method to obtain
the session bus if DBUS_SESSION_BUS_ADDRESS is not set. On OS X
launchctl is queried while on other platforms dbus-launch is used
as before.

The "standard" way to launch dbus on OS X is through launchd which
is responsible for allocating a unix domain socket and then passing
it to dbus. This patch splits out a platform specific method to obtain
the session bus if DBUS_SESSION_BUS_ADDRESS is not set. On OS X
launchctl is queried while on other platforms dbus-launch is used
as before.
@jessevdk jessevdk closed this Oct 25, 2013
@jessevdk
Copy link
Contributor Author

Sorry, patch was dirty. I've opened another pull request (#30) with the correct patch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant