This is a reproduction of an issue with nohup causing any kind-of shell to hang up
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
bash.sh
index.sh

README.md

nohup shell bug

I've found a bug in nohup that causes whatever shell it's executed from hang up and take 100% of the cpu, if you know any workarounds, please do tell

How to execute

git clone https://github.com/steelbrain/nohup-shell-hanging-bug
cd nohup-shell-hanging-bug
./index.sh &
top

After doing that you'll notice a shell process with 100% cpu usage