<p></p>
<p>I've developed hundreds of bash scripts with Geany, and have always been able to click Execute and they run properly.<br>
Many of these scripts make use of the $0 variable - that is - the path the script was run with.<br>
So if I'm editing <code>/home/pi/myfolder/myscript.sh</code>, then $0 is <code>/home/pi/myfolder/myscript.sh</code>.</p>
<p>Well just yesterday that behavior changed. Now $0 is <code>./myscript.sh</code> - not with the full path anymore.<br>
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.</p>
<p>Running the scripts from a terminal, using their full paths, still works fine.</p>
<p>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?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2611">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYHLDZK7M42PGEZGX3SJMP3PANCNFSM4SGCISXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYH2QFGRKWCUNZJAB3SJMP3PA5CNFSM4SGCISXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KVI4OTA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2611",
"url": "https://github.com/geany/geany/issues/2611",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>