How do I suppress "Cmd exec error."
I'm having a hard time finding documentation on these generated messages, which are NOT part of stdout, or stderr. All I want to do is suppress the output.
x
1 2 3 4 5 6 7 |
import paramiko # ... cli_x = "something unknown" ssh_client = paramiko.SSHClient() stdin, stdout, stderr = ssh_client.exec_command(cli_x) |
Output:Syntax error while parsing 'something unknown'
Cmd exec error.
Thanksx