How to run a external Program and get the return-code in a Firefox-Addon
https://stackoverflow.com/questions/930846
Question
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.
Thanks!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow