Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ipc or message back to js/xpcom from an external process

4 views
Skip to first unread message

Vasu

unread,
Dec 29, 2009, 11:49:34 PM12/29/09
to
Hi Guys,

Is there a way to get the ipc or a simple message from external
process to the js/xpcom app? Rightnow, I am relying on file io - which
is inefficeint.

Searching around, I found some pointers from 2007 - did anything
change or added for the inter process communication - either ipc/
socket?

I have something like below.
..
file.initWithPath('\\path\simple.exe');
var process = Components.classes["@mozilla.org/process/util;1"]
.createInstance
(Components.interfaces.nsIProcess);
process.init(file);

I want to able to read the message from simple.exe once the process is
spawned and done.

thanks

0 new messages