I've developed hundreds of bash scripts with Geany, and have always been able 
to click Execute and they run properly.  
Many of these scripts make use of the $0 variable - that is - the path the 
script was run with.  
So if I'm editing `/home/pi/myfolder/myscript.sh`, then $0 is 
`/home/pi/myfolder/myscript.sh`.  

Well just yesterday that behavior changed. Now $0 is `./myscript.sh` - not with 
the full path anymore.  
Using Geany, I tried executing multiple scripts that worked fine the day 
before, but all of them failed now because the scripts were no longer being run 
from their full path.  

Running the scripts from a terminal, using their full paths, still works fine.

I don't remember changing any Geany settings, but is there a setting somewhere 
with which I can change its Execute behavior back to how it was?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2611

Reply via email to