Hello,
First of all: thank you very much for maintaining this great project!

I'm C programmer learning now Cockpit. My problem is as follows: for some of the operation I must use external helper and I must wait for it output. The cockpit.spawn() function returns the promise, which is non-blocking operation (as expected). How can I make it work as blocking one? Which mean: the rest of the code in the function should be done after receiving full output of the cockpit.spawn (done() or fail())

best regards,
Magik