iterm2 bug: iterm2 + tmux causes hotkey to kill process

Skip to first unread message

Brendan Miller

Sep 23, 2022, 2:52:16 PM9/23/22
to iterm2-discuss
I'm dealing with a sort of bizarre bug in my iterm2 install.

I ssh to a remote server and run tmux. Inside of tmux, I build software with bazel.

I do this inside of a hotkey terminal window. For some strange reason, if I trigger the hotkey in this scenario, it kills the bazel process.
However, if I do the same thing when not using tmux, the bazel process is not killed.

I'm guessing that iterm2 has some tmux integration, and that hitting the hotkey tries to send some kind of signal to tmux, which is somehow getting passed through to bazel, which causes the bazel process to die.

So my question is: how to disable this flaky tmux integration so that this behavior stops. It's very annoying.


George Nachman

Sep 24, 2022, 3:12:50 PM9/24/22
To disable the tmux integration run tmux without the -CC argument.

If you’d like to get to the root cause please make a debug log and attach it to a new issue. To create a debug log see and you can file a bug at

You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages