dev/vala/live.gnome.org_tutorial/dbus-client.sh

13 lines
449 B
Bash
Executable File

#!/bin/sh
dbus-send --type=method_call \
--dest=org.example.DemoService \
/org/example/demo \
org.example.DemoService.SomeMethod
dbus-send --type=method_call \
--dest=org.example.DemoService \
/org/example/demo \
org.example.DemoService.SomeMethodSender \
string:'hello world'