I want to create an Ubuntu Application which has a GUI for a CLI-application. I want to run a terminal command, for example, on a button click in my application. How can I do this? Or should I really not being doing this?
Can I also grab what would be displayed as the last/current line when running the terminal command?
(I am writing my app using Quickly as described here)