Skip to content

Commit

Permalink
Enable remote command
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Jul 8, 2023
1 parent 774e989 commit 631cfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysqa/ext/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _execute_remote_command(self, command):
ssh = self._ssh_connection
else:
ssh = self._open_ssh_connection()
stdin, stdout, stderr = ssh.exec_command(command)
stdin, stdout, stderr = ssh.exec_command(command=command, get_pty=True)
warnings.warn(stderr.read().decode())
output = stdout.read().decode()
if not self._ssh_continous_connection:
Expand Down

0 comments on commit 631cfb6

Please sign in to comment.