Skip to content

Commit

Permalink
Bug fix re #14
Browse files Browse the repository at this point in the history
  • Loading branch information
svermeulen committed Apr 5, 2016
1 parent 009a20a commit b6dae30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/mtm/util/ProcessRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def execShellCommand(self, commandStr, startDir = None, wait = True):

(stdoutData, stderrData) = proc.communicate()

output = stdoutData.decode(sys.stdout.encoding).strip()
errors = stderrData.decode(sys.stderr.encoding).strip()
output = stdoutData.decode(encoding=sys.stdout.encoding, errors='ignore').strip()
errors = stderrData.decode(encoding=sys.stderr.encoding, errors='ignore').strip()

if output:
for line in output.split('\n'):
Expand Down

0 comments on commit b6dae30

Please sign in to comment.