Skip to content

Commit

Permalink
fix: include encoding on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Jan 15, 2025
1 parent d10d9f4 commit 908604e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nox/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def locate_via_py(version: str) -> str | None:
check=False,
text=True,
capture_output=True,
encoding="utf-8",
)
if ret.returncode == 0 and ret.stdout:
return ret.stdout.strip()
Expand Down

0 comments on commit 908604e

Please sign in to comment.