Skip to content

Commit

Permalink
Explicitly use 'utf-8' codec
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlatwe committed Sep 16, 2020
1 parent 77ada5b commit d38e873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rez/release_vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _cmd(self, *nargs):
print_debug("Running command: %s" % cmd_str)

p = Popen(nargs, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
cwd=self.pkg_root, text=True)
cwd=self.pkg_root, text=True, encoding="utf-8")
out, err = p.communicate()

if p.returncode:
Expand Down

0 comments on commit d38e873

Please sign in to comment.