disable connection sharing as it proved unreliable
This commit is contained in:
parent
5985587b4a
commit
46c83e0484
|
@ -218,7 +218,9 @@ def command_window(args):
|
|||
cmd += ' ' + ' '.join(['"%s"' % x for x in args.args])
|
||||
orig_cmd = cmd
|
||||
while True:
|
||||
rc = subprocess.call(['ssh', '-t', args.command_server_name] + [cmd])
|
||||
# -t: force a tty for interactive commands.
|
||||
# -S none: disable connection sharing as it proved unreliable.
|
||||
rc = subprocess.call(['ssh', '-t', '-o', 'ControlMaster=no', '-S', 'none', args.command_server_name] + [cmd])
|
||||
if rc == 0:
|
||||
send_status_message(tmux_session_name,
|
||||
{'@type': 'server-result',
|
||||
|
|
Loading…
Reference in New Issue