Commit e0e98d10 by Michael DeHaan

use readlines on stdout so we'll block on long running commands

parent 7eb2dd2d
......@@ -25,6 +25,7 @@ from itertools import izip
import os
import json
import traceback
import select
# non-core
import paramiko
......@@ -143,7 +144,7 @@ class Runner(object):
def _exec_command(self, conn, cmd):
''' execute a command over SSH '''
stdin, stdout, stderr = conn.exec_command(cmd)
results = stdout.read()
results = "\n".join(stdout.readlines())
return results
def _copy_module(self, conn):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment