This PR fixes an issue where erbb is not executed on Max like it is on the terminal.
This is because Max rewrites the PATH variable with its own, dropping on the way some of the important configuration we have.
Typically, a specific install of Python might not be seen, and another might be loaded. If the versions differs then it will fail to load the cffi_backend, as we only install the one for the version of Python that was used during erbb setup.
For this we launch the user default shell as a login shell, so that their configuration is loaded before we pass this environment to the erbb script.
This PR fixes an issue where
erbb
is not executed on Max like it is on the terminal.This is because Max rewrites the
PATH
variable with its own, dropping on the way some of the important configuration we have. Typically, a specific install of Python might not be seen, and another might be loaded. If the versions differs then it will fail to load thecffi_backend
, as we only install the one for the version of Python that was used duringerbb setup
.For this we launch the user default shell as a login shell, so that their configuration is loaded before we pass this environment to the
erbb
script.bash
zsh
Test on macOS withfish