Please support "launchd:" address family type
Opened this issue · 3 comments
JetForMe commented
DBus 1.10 supports launchd
addresses directly, according to the spec.
They take the form launchd:env=SOME_ENV_VAR
. The examples I've found on line result in
launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET
I'm currently connecting to that bus with
dbus.sessionBus({ busAddress : "unix:path=" + process.env.DBUS_LAUNCHD_SESSION_BUS_SOCKET.toString() });
sidorares commented
in addition to encoding values and passing vie busAddress you can use host
, port
and socket
directly:
dbus.sessionBus({ soket: process.env.DBUS_LAUNCHD_SESSION_BUS_SOCKET } )
sidorares commented
but I'm keen to support all transports in busAddress
string