Hy, I'm trying to launch a external process from a mozilla firefox addon (so only js-code allowed). This is easly possible using NSIProcess, but I need the return-code of the executed program. As the NSIProcess doesnt offer a possibility to get the return-code, I'm searching for a alternative possibility.

Im trying to avoid to write my own XPCom Compontent in C because this would make the plugin platform bound.


Was it helpful?


The link you gave mentions the attribute exitValue -- is that not what you're looking for?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow