[Enigmail] IPC library usage

Damiano Albani damiano.albani at gmail.com
Mon Jan 21 07:19:22 PST 2008


Hello,

Sorry if I'm a bit off-topic, but I'm trying to use the IPC API of the
library shipped with the Enigmail extension.

In particular, I'd like to use the nsIIPCService.execAsync() method.

Basically, I have a external program ("tick") which produces lines of
text on the standard output at irregular intervals. So my goal is to
be notified each time, say, a new line is printed.

My current code is quite basic [1], but it doesn't seem to work :
neither "onStartRequest" or "onStopRequest" of my request observer
aren't called. And I don't know what I'm supposed to do with the
stdin/stderr pipe consoles :-)

Any help would be appreciated.

[1] <http://pastebin.com/m3dc6e283>

Regards,

-- 
Damiano ALBANI


More information about the Enigmail mailing list