[Python-checkins] cpython (3.5): Issue #27393: Fix escaping of venv activate commands on Windows
berker.peksag
python-checkins at python.org
Mon Jun 27 02:50:32 EDT 2016
https://hg.python.org/cpython/rev/fd1236294b88
changeset: 102206:fd1236294b88
branch: 3.5
parent: 102204:0b3a6ca3f923
user: Berker Peksag <berker.peksag at gmail.com>
date: Mon Jun 27 09:51:40 2016 +0300
summary:
Issue #27393: Fix escaping of venv activate commands on Windows
Patch by Manuel Kaufmann.
files:
Doc/using/venv-create.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -89,9 +89,9 @@
+-------------+-----------------+-----------------------------------------+
| | csh/tcsh | $ source <venv>/bin/activate.csh |
+-------------+-----------------+-----------------------------------------+
-| Windows | cmd.exe | C:\> <venv>\Scripts\activate.bat |
+| Windows | cmd.exe | C:\> <venv>\\Scripts\\activate.bat |
+-------------+-----------------+-----------------------------------------+
-| | PowerShell | PS C:\> <venv>\Scripts\Activate.ps1 |
+| | PowerShell | PS C:\> <venv>\\Scripts\\Activate.ps1 |
+-------------+-----------------+-----------------------------------------+
You don't specifically *need* to activate an environment; activation just
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list