<blockquote>
<p>Okay, then zsh, as long as it's a defined environment. I fear arbitrary the option for shells because each has its own gotchas that we'd need to support.</p>
</blockquote>
<p>No, you don't understand - we can't hard-code neither, we just don't know which one the user uses. On older macOS versions it will probably be bash, on newer ones (over time) probably zsh. But at this moment it's configurable.</p>
<p>What exactly do you fear? Right now it runs something like</p>
<pre><code>/bin/sh -c fortran
</code></pre>
<p>what could go wrong if it runs</p>
<pre><code>/bin/zsh -c fortran
</code></pre>
<p>What exactly do we have to support in this case?</p>
<blockquote>
<p>Commands with options and such could be an issue, for eg do all shells support shell_name -c "command"?</p>
</blockquote>
<p>I checked the major ones and all do.</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=AAIOWJ25CHZQMJMYP5TJP23QO3M43A5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLZ4GA#issuecomment-542613016">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ57XO4KCOSZHYU4CPTQO3M43ANCNFSM4I6OF3PA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2UIOFQYNTMBRE7ZSTQO3M43A5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLZ4GA.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=AAIOWJ25CHZQMJMYP5TJP23QO3M43A5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLZ4GA#issuecomment-542613016",
"url": "https://github.com/geany/geany/issues/2344?email_source=notifications\u0026email_token=AAIOWJ25CHZQMJMYP5TJP23QO3M43A5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLZ4GA#issuecomment-542613016",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>