gdbus call can not interpret variable of type "out string" or readwrite string
I have a method generated from introspect of a xml file. The method has one inparameter that is a of type "in s xyz". I can call with "gdbus call --system ...... --method org.hung.method $string_variable without any issues
If the same inparameter is defined as "out s xyz" instead then nothing works. I saw that out paramater of string should have syntax like this '<string "xyz">'. I tried replacing xyz with $my_variable, I tried escape quotes"" etc but nothing works. Is there an example on exactly a method paramter that is of type "out s xyz" which you can show me how the syntax should look like?
Edited by hung nguyen