Stacked
Stacked

Reputation: 861

Execute binary with parameters located inside addon folder

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

Answers (1)

erikvold
erikvold

Reputation: 16558

Instead of using Components use require("chrome") click here for more information

Upvotes: 1

Related Questions