Is there any way to initiate opening file in system default application in Add-on SDK environment, or at least in Firefox plugin in general?
I'm looking for multi-platform solution, so I'd rather avoid things like platform detection + require("sdk/system/child_process").exec()
+ (open
, xdg-open
, RUNDLL32.EXE SHELL32.DLL,OpenAs_RunDLL
).
Something like Desktop#open from Java world would be ideal.