How can we interact with bash?
addlistener opened this issue · comments
How can we interact with bash?
For use case example, how can we load cpu & mem usage like below?
This is achieved in https://tracesof.net/uebersicht/. I know plash is a pure website renderer but is it possible we support this by some kind of plugin mechanism?
I may do this at some point, but probably not soon. It's complicated to implement and it's not a popular request.
The recommended solution for now is to run a local server to serve the required info.
Is it possible that Plash implement some kinda command plugin/hooks to execute some commands?
It easier and we can manage the server you mentioned in Plash lifecycle.
Is it possible that Plash implement some kinda command plugin/hooks to execute some commands?
That's what it would be and it's what's complicated to do. I will most likely have to create a helper app that has to be installed separately, since Plash is sandboxed and not allowed to execute external binaries.