The moterm library offers a Kmd class that lets you run a terminal command as you would normally. The output is stored and can be displayed as a nice view (thanks to rich) but the real benefit is that ...