Remove read command directive for SSH start execution
This cause hang waiting on read command output from which the
output is never going to get returned.
Change-Id: If8b7af3ba57926cfab2eb565287baf6e39bd9536
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/gen_robot_ssh.py b/lib/gen_robot_ssh.py
index eeb2fa4..cd1a997 100755
--- a/lib/gen_robot_ssh.py
+++ b/lib/gen_robot_ssh.py
@@ -240,8 +240,6 @@
try:
if fork:
sshlib.start_command(cmd_buf)
- ssh_log_out = sshlib.read_command_output()
- BuiltIn().log_to_console(ssh_log_out)
else:
if open_connection_args['alias'] == "device_connection":
stdout = sshlib.write(cmd_buf)