<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Aha, found it! <div class=""><br class=""></div><div class="">I do have a customised .bash_profile but as you say it shouldn’t affect an application … however, I did start using a custom bash (v 4.3.24 from homebrew) some time ago, which necessitated changing /etc/shells (I cannot remember why I thought this was worthwhile). Looking in the QGIS environment variables I found:</div><div class=""><br class=""></div><div class=""><font face="Courier New" class=""><b class="">SHELL  /usr/local/Cellar/bash/4.3.24/bin/bash </b></font></div><div class=""><br class=""></div><div class="">… instead of /bin/bash. </div><div class=""><br class=""></div><div class=""><u class="">GRASS runs fine now</u> that SHELL reports /bin/bash. Fixing this was not trivial, with several steps before the SHELL variable was reported correctly and GRASS ran:</div><div class=""><ul class="MailOutline"><li class="">I edited /etc/shells to remove the homebrew bash reference;</li><li class="">ran <font face="Courier New" class=""><b class="">sudo dscl . -change /Users/$USER UserShell /usr/local/Cellar/bash/4.3.24/bin/bash /bin/bash</b></font></li></ul><div class=""><br class=""></div><div class="">Note: adding a custom environment variable in QGIS to set shell did NOT work.</div></div><div class=""><br class=""></div><div class="">Many thanks for your help on this!</div><div class=""><br class=""></div></body></html>