I'm not familiar with what this is about? I'm away from my computer to look at the code. Is this a plugin to run/spawn external programs and capture output?
If so, you may want to check out my external-tools plugin:
https://github.com/sblatnick/geany-plugins/tree/external-tools/external-tool...
Thanks,
Steve