As said, yes I access the directory of the json file before launching the scripts, just like KUAL does...
what do you mean with export PATH=/usr/bin:/bin:$PATH?
now I'm using:
Code:
cd /path/containing/the/JSONscript; DISPLAY=:0 script.sh
should I use instead:
Code:
cd /path/containing/the/JSONscript;export PATH=/usr/bin:/bin:$PATH; DISPLAY=:0 script.sh
?
Or must I export another path, like the one containing the sh script?
Edit: I've tryed with ;export PATH=/usr/bin:/bin:$PATH; before launching the script and doesn't seem to work