Is this fix still need as of byobu 5.127? The current code says this:
def attach_session(session): update_environment(session) backend, session_name = session.split("____", 2) cull_zombies(session_name) # must use the binary, not the wrapper! if backend == "tmux": if reuse_sessions: os.execvp("tmux", ["tmux", "attach", "-t", session_name]) else: os.execvp("tmux", ["tmux", "-2", "new-session", "-t", session_name, "-s", "_%s-%i" % (session_name, os.getpid())])
else: os.execvp("screen", ["screen", "-AOxRR", session_name])
Is this fix still need as of byobu 5.127? The current code says this:
def attach_ session( session) :
update_ environment( session) split(" ____", 2)
cull_zombies( session_ name)
os.execvp( "tmux", ["tmux", "attach", "-t", session_name])
else:
os.execvp( "tmux", ["tmux", "-2", "new-session", "-t", session_name, "-s", "_%s-%i" % (session_name, os.getpid())])
backend, session_name = session.
# must use the binary, not the wrapper!
if backend == "tmux":
if reuse_sessions:
else:
os.execvp( "screen" , ["screen", "-AOxRR", session_name])