Is:
"""
bus=dbus.SystemBus()
obj=bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus')
interface=dbus.Interface(obj, 'org.freedesktop.DBus')
aptd_running = "org.debian.org" in interface.ListNames()
"""
the best way for testing this ? Inflated 10 times of course because it has
to be done in C ? Or is there a low-level dbus method that is better suited?
Is: SystemBus( ) get_object( 'org.freedeskto p.DBus' , '/org/freedeskt op/DBus' ) dbus.Interface( obj, 'org.freedeskto p.DBus' ) ListNames( )
"""
bus=dbus.
obj=bus.
interface=
aptd_running = "org.debian.org" in interface.
"""
the best way for testing this ? Inflated 10 times of course because it has
to be done in C ? Or is there a low-level dbus method that is better suited?