Skip to content

Commit

Permalink
Fix #2728: Activating venv create unwanted console output (#2748)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bernát Gábor <[email protected]>
  • Loading branch information
3 people authored Sep 7, 2024
1 parent 38e02c8 commit 61e774f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2728.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no longer create `()` output in console during activation of a virtualenv by .bat file.
1 change: 1 addition & 0 deletions src/virtualenv/activation/batch/activate.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@REM This file is UTF-8 encoded, so we need to update the current code page while executing it
@echo off
@for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (
@set _OLD_CODEPAGE=%%a
)
Expand Down

0 comments on commit 61e774f

Please sign in to comment.