There should be option to keep gdbus running when using gdbus call
Submitted by Jakub
Assigned to David Zeuthen
Link to original bug (#742835)
Description
Some DBus applications monitor connected clients, and alter their behaviour when they're gone, i.e. bluetoothd, when you start discovery would finish it when there are no more clients.
So when you call: gdbus call --system --dest org.bluez --object-path /org/bluez/hci0 --method org.bluez.Adapter1.StartDiscovery
you might actually not start discovery, because you disconnect before it starts.
It would be nice to have additional option, i.e. --wait, or --sleep that would keep gdbus running for x seconds more.
Thanks!