Whenever I try to open a new terminal window in iTerm, it closes right away after displaying this:
## exec failed ##
argpath=login error=No such file or directory
Does anyone know what is causing this? Thanks!
Notes
- The
terminal
is working fine - The default command for new iTerm sessions is set to Login shell
Best Answer
Not sure why it didn't work with Login shell selected, but I changed it to ⌘ command and invoked
bash -l
or/bin/bash -l
to make it work the same way. Hope this helps anyone else who has the same problem!