Skip to content

Instantly share code, notes, and snippets.

@avnik
Created December 23, 2014 15:57
Show Gist options
  • Save avnik/26f7c0fbbd3e820c3cdd to your computer and use it in GitHub Desktop.
Save avnik/26f7c0fbbd3e820c3cdd to your computer and use it in GitHub Desktop.
from fabric.network import ssh, io
import time
def patched_input_loop(chan, using_pty):
while not chan.exit_status_ready():
time.sleep(ssh.io_sleep)
io.input_loop = patched_input_loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment