How do I suppress "Cmd exec error." - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: How do I suppress "Cmd exec error." (/thread-40048.html) |
How do I suppress "Cmd exec error." - xplet - May-23-2023 How do I suppress "Cmd exec error." import paramiko # ... cli_x = "something unknown" ssh_client = paramiko.SSHClient() stdin, stdout, stderr = ssh_client.exec_command(cli_x)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. Thanksx RE: How do I suppress "Cmd exec error." - Gribouillis - May-24-2023 Is there no Python exception traceback? |