dbus-native icon indicating copy to clipboard operation
dbus-native copied to clipboard

getInterface should return error if interface does not exist

Open sidorares opened this issue 10 years ago • 3 comments

see #38

sidorares avatar Jul 23 '14 00:07 sidorares

I'm looking for a way to check for a dbus service and fall back to command line calls with child_process if not available.

I see this issue is 1 year old. What's your position on this and do you want help on searching a solution?

Or is there a more simple way of checking for a service's presence before calling getInterface()?

sdumetz avatar Sep 21 '15 15:09 sdumetz

OK my bad it seems to work as expected. An error in my code and this open issue led me to the wrong conclusions. Sorry for the trouble.

sdumetz avatar Sep 21 '15 15:09 sdumetz

np. I'll need to check if this can be closed.

You can use ListName call to get all running services and later introspect service starting with / to see if interface is supported

sidorares avatar Sep 21 '15 23:09 sidorares