(remote_ssh, cmd)
| 179 | |
| 180 | |
| 181 | def sn_remote_cmd(remote_ssh, cmd): |
| 182 | stdin, stdout, stderr = remote_ssh.exec_command(cmd, get_pty=True) |
| 183 | lines = stdout.readlines() |
| 184 | return lines |
| 185 | |
| 186 | |
| 187 | # A thread designed for initializing working directory. |
no outgoing calls
no test coverage detected