How to run an external program and get a return code in Firefox-Addon

Hy, I'm trying to start an external process from the Mozilla firefox admin (so only js code is allowed). This is possible using NSIProcess , but I need a return code for the executable. Since NSIProcess makes it impossible to get reverse code, I am looking for an alternative opportunity.

I try to avoid writing my own XPCom Compontent in C because it will make the plugin platform related.

Thanks!

+4
source share
1 answer

The link you provided points to the exitValue attribute - is that not what you are looking for?

+2
source

All Articles