On Sunday 21 February 2010 18:31:53 Aaron J. Seigo wrote: > On February 21, 2010, Nikola Milenković wrote: > > Hi, > > > > i would like to join the Jam Session, and I have an idea for my plasmoid, > > but I'm having a little trouble with it. > > I would like to read output from console command, (eg. ps -e or la). I > > can run command with: plasmoid.runCommand, but how can I read output from > > it? > > this is provided by the exec DataEngine. > > this really should be provided as a Plasma::Service plugin; maybe i'll get > to that while i'm here at tokamak. Needs be done asynchronously in a background thread unless one knows it will always be instantaneous. Qt4 classes are available, probably the backend used by the above. Dataengine will be asynch if used properly. I might try it with qt4 stuff. _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel