-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Issue
Consider the following batch script:
python -m virtualenv --quiet venv
CALL venv\Scripts\activate.bat
REM spam
CALL deactivate.bat
REM eggsThe expected output is:
W:\>python -m virtualenv --quiet venv
W:\>CALL venv\Scripts\activate.bat
(venv) W:\>REM spam
(venv) W:\>CALL deactivate.bat
W:\>REM eggs
The actual output is:
W:\>python -m virtualenv --quiet venv
W:\>CALL venv\Scripts\activate.bat
This is caused by @echo off at the beginning of both scripts that need to be undone after calling them:
python -m virtualenv --quiet venv
CALL venv\Scripts\activate.bat
@ECHO ON
REM spam
CALL deactivate.bat
@ECHO ON
REM eggsEnvironment
- OS: Windows 10
pip list: not relevant
Output of the virtual environment creation
Also not really relevant. virtualenv version 20.16.4.