<blockquote>
<p>It's a little stupid Geany uses the hard-coded /bin/sh inside build.c.</p>
</blockquote>
<p>I dislike hardcoding as well, but on a properly configured system, AFAIK, <code>/bin/sh</code> should refer to a POSIX compatible shell (be it bash, dash, etc.), so it's not totally unreasonable for Geany to use it.</p>
<blockquote>
<p>Any objections if I make this configurable inside the Various section and make it default to /bin/bash for macOS?</p>
</blockquote>
<p>None here.</p>
<p>I didn't look into it much, but I noticed there's already <a href="https://github.com/geany/geany/blob/75def8a24eb2dab8d376ae051806128827d34fbe/src/keyfile.c#L888">a hack for same/similar issue</a> in the VTE code that might be worth re-visiting when making the changes, or just copy and paste that code again <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p>
<p>It might be nice in the future to make the Shell configurable in the Tools tab and have it inherited by the arguments used for the "Terminal" command arguments in that tab, the "Shell" command in the VTE preferences, and anywhere else that uses a shell too.</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/2344?email_source=notifications&email_token=AAIOWJY5PLXSRVMTHS7VFYTQOZLTZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKTI2Y#issuecomment-542454891">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5BF4LZPFRYR4RYZFLQOZLTZANCNFSM4I6OF3PA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6MNXVFFOHD2RZXAC3QOZLTZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKTI2Y.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/2344?email_source=notifications\u0026email_token=AAIOWJY5PLXSRVMTHS7VFYTQOZLTZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKTI2Y#issuecomment-542454891",
"url": "https://github.com/geany/geany/issues/2344?email_source=notifications\u0026email_token=AAIOWJY5PLXSRVMTHS7VFYTQOZLTZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKTI2Y#issuecomment-542454891",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>