If I work in terminal, and, say run rails server
in it attached to the current terminal and then close the tab it will not terminate the process making it hang around indefinitely without ability to bring it. Is it possible to fix it?
Steps to reproduce:
- Open new terminal tab (
cmd + t
); - Run a process in it (e.g.
irb
); - Close the tab (
cmd + w
); - List processes to see that
irb
is still running (ps ax|grep irb
).
Quitting iTerm doesn't finish these processes either.
tmux list-sessions
and see what it comes back with. – Jay Thompson Sep 16 '14 at 15:48failed to connect to server: No such file or directory
– Andrew Sep 16 '14 at 16:15top
– Jay Thompson Sep 16 '14 at 16:54