[systemd-devel] busctl method array

Damian Ivanov damianatorrpm at gmail.com
Sat Nov 30 11:52:39 UTC 2019


Hello!

I have been looking around the documentation and could not find the
specification on how to call a method with an array as parameter.
 busctl --user call rdns.to.dbus /path/ id.to.interface method_name
"sssas" "string" "another_string" "yet_another_string"
["array_string_1", "array_string_2"]

Failed to parse '[arr' number of array entries: Invalid argument

I tried various logical syntax's.

What is the proper syntax?
Much appreciated.

Regards,
Damian


More information about the systemd-devel mailing list