Reputation: 861
I am using kango framework - http://kangoextensions.com/docs/index.html and would like to execute a binary (with CLI arguments) located inside my addon folder. The examples shared here: http://forums.mozillazine.org/viewtopic.php?t=446245 does not work probably because I am not using the Firefox-Addon framework and errors our with
The Components object is deprecated. It will soon be removed.
followed by TypeError: Components.classes is undefined
My question is how to execute the binary in this situation?
Thanks
Upvotes: 1
Views: 88
Reputation: 16558
Instead of using Components
use require("chrome")
click here for more information
Upvotes: 1