From kde-devel Mon Sep 20 01:32:49 2004 From: "Ian Reinhart Geiser" Date: Mon, 20 Sep 2004 01:32:49 +0000 To: kde-devel Subject: Re: Implmenting DCOP Message-Id: <37371.66.92.236.216.1095643969.squirrel () 66 ! 92 ! 236 ! 216> X-MARC-Message: https://marc.info/?l=kde-devel&m=109564400612259 Richard Lärkäng said: > On Sunday 19 September 2004 20.28, PiggZ wrote: >> next question, a call to dcop returns kppp-PID, [...] > > I don't thinks it's possible to listen for a dcop-signal in a shell > script, > but I could be wrong. OTOH, if you program in something like > perl/python/ruby > there's bindings for DCOP in the kdebindings module, from which you can do > really cool stuff. its possible with some hacks i did a few years ago, but its not so pretty. Bsicly i wrote a small C++ app that just connected to the slots and returned to stdout the results. the javascript, python and afaik ruby bindings both support dcop signals and slots. shell is funny when it comes to slots, since they are asynchronous by nature and a shell script is not. cheers -ian reinhart geiser -- -- +-Ian Reinhart Geiser geiseri@sourcextreme.com +-Vice President of Engineering +-http://www.sourcextreme.com +-It's not that we don't make mistakes, we just don't keep them around. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<