View Single Post
Old 11-25-2013, 11:43 AM   #121
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
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

Last edited by Aeris; 11-25-2013 at 11:53 AM.
Aeris is offline   Reply With Quote