iTerm closes tab after sourcing file
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.4.2
- OS version: 10.15.7
- tmux version: 2.4
- debuglog.txt
- Attach a screen capture video if it would make the reproduction steps clearer.
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
- Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem:
- Open a new iTerm tab or new tmux pane.
-
source test.env
file is included below. -
asdf
or anything that produces an exit code of non zero.
#!/bin/bash
set -e
export PRIVATE_KEY=REDACTED
export API_URL=grpc://localhost:5002
This worked perfectly fine before upgrading to 3.4.2. I'm unsure what version I was on before the upgrade.
What happened: After step 3 the iterm tab or tmux pane is closed
What should have happened: The iterm tab or tmux pane should have remained open
Edited by removeoauthaccount