Skip to content

Commit 61e774f

Browse files
ShootGanpre-commit-ci[bot]gaborbernat
authored
Fix #2728: Activating venv create unwanted console output (#2748)
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]>
1 parent 38e02c8 commit 61e774f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/changelog/2728.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
no longer create `()` output in console during activation of a virtualenv by .bat file.

src/virtualenv/activation/batch/activate.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@REM This file is UTF-8 encoded, so we need to update the current code page while executing it
2+
@echo off
23
@for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (
34
@set _OLD_CODEPAGE=%%a
45
)

0 commit comments

Comments
 (0)