This is a huge stretch, but bash supports it via "custom commands" written in C.
Like Python's ctypes, this can crash the process, which I don't particularly like. Maybe it's possible to have the app be a coprocess ? Still need to work on coprocess support.
This is a huge stretch, but bash supports it via "custom commands" written in C.
Like Python's ctypes, this can crash the process, which I don't particularly like. Maybe it's possible to have the app be a coprocess ? Still need to work on coprocess support.
https://github.com/taviso/ctypes.sh/wiki
https://github.com/taviso/ctypes.sh/blob/master/test/gtk.sh