<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=9497832" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GladOSkar">@GladOSkar</a> Where did you get the <code>-c</code> flag from? Geany should run the script without <code>-c</code>. When you go to Edit->Preferences->Tools, what does the "Terminal" command say? The default is</p>
<pre><code>xterm -e \"/bin/sh %c\"
</code></pre>
<p>without <code>-c</code>.</p>
<blockquote>
<p>And its possible that the reason Apple needs execute is because it uses zsh, <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=713965" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/techee">@techee</a> ??</p>
</blockquote>
<p>I think this ifdef can be removed now. I believe that in the past we really used to have the run script executable and run it using <code>/bin/sh -c run_script.sh</code> but we changed it because on some systems we weren't allowed to run an executable file from /tmp because of security settings.</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/2374?email_source=notifications&email_token=AAIOWJ3J2YBH7Q24QWIEKWTQPR5GXA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYNFLY#issuecomment-544264879">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7U3KJXBYFG6I6P6ZTQPR5GXANCNFSM4JCQ2A4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7K25HOQTQ43ZSXTXDQPR5GXA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYNFLY.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/2374?email_source=notifications\u0026email_token=AAIOWJ3J2YBH7Q24QWIEKWTQPR5GXA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYNFLY#issuecomment-544264879",
"url": "https://github.com/geany/geany/issues/2374?email_source=notifications\u0026email_token=AAIOWJ3J2YBH7Q24QWIEKWTQPR5GXA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYNFLY#issuecomment-544264879",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>