diff options
Diffstat (limited to 'steuermann/rexec.py')
-rw-r--r-- | steuermann/rexec.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/steuermann/rexec.py b/steuermann/rexec.py index 30e58dc..43aba01 100644 --- a/steuermann/rexec.py +++ b/steuermann/rexec.py @@ -43,7 +43,11 @@ def run( host, cmd, password, directory ): print "HTTP ERROR",e.code print e.read() return 1 - print f.read() + while 1 : + s = f.read(2048) + if s == '' : + break + sys.stdout.write(s) return 0 def upload( host, filename, password, directory) : |