I try to run a command which takes some arguments and requires to pass some attributes to the API. I understand that call-process takes args as strings but any invocation complains about wrong-type-argument listp
(wrong-type-argument listp "'TEST=hpc_powerman'") (apply #'call-process "/usr/bin/openqa-cli" nil "mybuf" nil "api" "--osd" "-X" "post" "isos"
"'ISO=SLE-15-SP6-Online-aarch64-Build40.1-Media1.iso'"
"'DISTRI=sle'"
"'VERSION=15-SP6'"
"'FLAVOR=Online'"
"'ARCH=aarch64'"
"'_NOOBSOLETEBUILD=1'"
"'BUILD=40.1'"
"'_GROUP_ID=130'"
"'TEST=hpc_powerman'")
How it looks on terminal
400 Bad Request Error: missing parameters: DISTRI VERSION FLAVOR ARCH ❯ echo $? 1 ❯ openqa-cli api --pretty --host https://openqa.suse.de -X POST isos ISO=SLE-15-SP6-Online-aarch64-Build40.1-Media1.iso DISTRI=sle VERSION=15-SP6 FLAVOR=Online ARCH=aarch64 _NOOBSOLETEBUILD=1 BUILD=40.1 _GROUP_ID=130 TEST=hpc_powerman { "count" : 2, "failed" : [], "ids" : [ 12931264, 12931265 ], "scheduled_product_id" : 2004035 } I tried to escape the = but it doesnt make any difference. Another attempt was to send the last part as one string.
Any ideas how can i make this work?