register bash script as dbus object
dbus at matthew.ath.cx
Fri Dec 12 04:22:54 PST 2008
On Fri Dec 12 15:06, Александр Лавриненко wrote:
> Why no way? Say, connect to dbus, announce itself and wait for methods from
> clients could be done with:
> connect-dbus-object-from-script bla-bla-bla......| while (read string ; do
> but there's no "connect-dbus-object-from-script" or similar program to use
> from scripts (nevermind the syntax - this is just conceptual example).
Precisely, this is why I said there's no way to do it, because there's no
such program at the moment, because noone has needed one yet.
Feel free to write one though, I'd be interested to know how well it
works. I'd be tempted to do it with callbacks though, so it would be
connect-dbus-object SYSTEM a.b.c /foo/bar d.e.f "iis" callback
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20081212/42a1d288/attachment.pgp
More information about the dbus