Using a dbus service without opening it - python

Thiago Macieira thiago at kde.org
Mon Apr 9 00:02:57 PDT 2007


Tomer Haimovich wrote:
>Oh, and meanwhile, is there any other way to avoid this problem? I just
>figured out that even if you do add this feature, it won't be here until
> the next release, and I don't know when it will happen.

You can call NameHasOwner on the bus daemon (org.freedesktop.DBus) to see 
if the name is present on the bus. If it isn't present, a call to it will 
either fail or will cause it to be started.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070409/0cdcc354/attachment.pgp


More information about the dbus mailing list