diff --git a/docs/changelog/2728.bugfix.rst b/docs/changelog/2728.bugfix.rst new file mode 100644 index 000000000..1040fd4d9 --- /dev/null +++ b/docs/changelog/2728.bugfix.rst @@ -0,0 +1 @@ +no longer create `()` output in console during activation of a virtualenv by .bat file. diff --git a/src/virtualenv/activation/batch/activate.bat b/src/virtualenv/activation/batch/activate.bat index d383de073..3e34ee4db 100644 --- a/src/virtualenv/activation/batch/activate.bat +++ b/src/virtualenv/activation/batch/activate.bat @@ -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 )