Comment 1 for bug 1666212

Revision history for this message
eviweb (eviweb) wrote :

Hi,
I just encountered this issue, and I can confirm that the fix works.
For me it had to be inserted in the tmux call of the attach_session function, like below :

def attach_session(session):
    update_environment(session)
    backend, session_name = session.split("____", 2)
    # must use the binary, not the wrapper!
    if backend == "tmux":
        os.execvp("tmux", [" ", "-2", "attach", "-t", session_name])
    else:
        os.execvp("screen", [" ", "-AOxRR", session_name])

Best regards

Eric