In my XUL application I have to make a system call which is more complicated than running a single process, so I wrote a very simple bash file with a couple of commands and I run a process initialized with this bash file.
The problem is how to find the path of the file itself. Normally I use chrome:// or resource:// paths for all I need. But I need the absolute path in order to call this file. Is there a reliable way to get it?