Iterm2 suspends IEx session

I think Iterm2 is killing my iex session after a minute or so of inactivity.
This is bothersome because when working I get the

[33] + 54272 suspended iex

And have to restart the session several times to get anything done.

I already when to the setting Profile > Session > When Idle, send ASCII code every 30 secs.
But I still get the error. Has anybody else experienced this ?

1 Like

That looks like you accidentally pressed ctrl + z in your shell session, not from iTerm 2 in particular - does running fg as a command bring you back into the existing iex session?

https://www.gnu.org/software/bash/manual/html_node/Job-Control-Basics.html
http://zsh.sourceforge.net/Doc/Release/Jobs-_0026-Signals.html

hmm using fg does brinback the session

No I don’t have this problem, I’m using latest iterm2 3.3.7

1 Like

Not sure what caused it, I upgraded to the latest version and it stopped happening.