Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
ascii from subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Dunn committed Apr 29, 2019
1 parent 3ab75e5 commit 03eda63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeflow/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def capture(cmd, nocheck=False):
"""
import subprocess
LOG.info('$ {} >'.format(cmd))
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='ascii')
stdout, stderr = proc.communicate()
rc = proc.returncode
if rc:
Expand Down

0 comments on commit 03eda63

Please sign in to comment.