You may want to take a look at KProcess: http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKProcess.html For example, here's a Python plasmoid that uses it: http://kde-look.org/content/show.php/Redshift+plasmoid?content=148737
With best regards, Hans Chen On Tue, Feb 7, 2012 at 20:06, Eric Mesa <ericsbinarywo...@gmail.com> wrote: > In my plasmoid I have a button that launches a python program with certain > arguments. Is it possible for the button to know whether or not the > application exited with an error? And if so, is it possible to have it > change colour based on that? > -- > Eric Mesa > http://about.me/ericmesa > http://www.ericsbinaryworld.com > > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel