I'm looking for a way to run commands in a widget I'm trying to develop.
So far I've come across the
org.kde.kio.KRun, which should be an interface to the kRunner. From the few examples I have seen, I only found that
KRun has the following methods:
openUrl, openService (which are not useful for running commands). I've tryed googling about it, but the only resource I've found is this one which seems to be very different from the
org.kde.kio.KRun used in the widgets.
How can I run a command from a widget?