[Enigmail] Current IPC Options?

Patrick Brunschwig patrick at mozilla-enigmail.org
Fri Oct 10 00:05:07 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Nerkin wrote:
> 
> Fellow extension developers,
> 
> 
> I'm writing an extension that requires the ability to execute an
> external process and access the stdin/stdout streams of that created
> process.  The nsIProcess API allows me to launch an external process and
> specify command-line arguments, but it doesn't give me access to
> input/output streams for that process.  I see that Enigmail uses
> something called nsIPipeTransport to achieve the same functionality, but
> I'm confused about the state of this API.  It seems like it was at one
> point a part of Protozilla, then a separate library, then possibly going
> to be merged into the mozilla source base, and now... I don't know.  So
> if this is the only option for achieving the functionality that I
> desire, does anyone know where I should get this library, how I should
> bundle it with my extension, and where I can find a reference for the
> API that it provides?

The library source and pre-compiled versions for xulrunner on Windows
and Linux are available from <http://mozilla-enigmail.org/ipc/>. I
believe that the builds for xulrunner also work with Firefox 3.0. For
the API, I'd recommend to start reading the file docu.txt.

- -Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSO7+oncOpHodsOiwAQKgcAf+PXBYwP+rC0mNbxAZUCErcjZl3SuFDL5B
BkGNIaq7Cd86FF8ljXTZE8C1YeXSAawwsdckj1T0sM2jafw4V3cBJaFXZw+H1DdT
3n8EEnoBpbXYsdBEzDZyixedDb9vh7cc2FIcSLL0u3xC/zzjrNDwma5NGrh9nxIt
JShbzpFJoIwUHBTMZQQFphL7dPhhcWnTNxy0wabHm2/7vl6SoSkKywlTJN3H1kJo
07zvc47GlZhKIUJBz8FDDWyej3iW6IlNdn62ZvQQQusM44KzcJHl8FRDHwsjUb2M
9OEtjwp4RSSjTXYJFzuzvrdAsY5E/OKe3elrsabHj9kpH+bXUcSIdw==
=8IBK
-----END PGP SIGNATURE-----


More information about the Enigmail mailing list