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
inpuyt/output pipes/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?
Thanks,
- Clement