Decode output from ssh_command and shell_command in Python3

Issue #8 resolved
Jesse Almanrode repo owner created an issue

We should have an option to decode the output from ssh_command and shell_command when running in Python3. This would turn the byte code objects into actual utf8 strings using the stdout.decode('utf-8') method.

Comments (2)

  1. Jesse Almanrode reporter

    Added decodebytes option to both shell_command and ssh_command in the SSH module. This should help make writing scripts in Python 2 and 3 easier (just decode it all) ;)

    Commit 86a7ed0

  2. Log in to comment