From 65d1e46541fc1a11cbdfd27d51d00a6a341ad2ab Mon Sep 17 00:00:00 2001 From: wu_xinjun <bent20140204@outlook.com> Date: 星期二, 21 六月 2022 20:43:04 +0800 Subject: [PATCH] optimize for env setting via venv --- src/microwave/demo/AutoSendAndGetTest.bat | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/microwave/demo/AutoSendAndGetTest.bat b/src/microwave/demo/AutoSendAndGetTest.bat index 73f4873..03da988 100644 --- a/src/microwave/demo/AutoSendAndGetTest.bat +++ b/src/microwave/demo/AutoSendAndGetTest.bat @@ -2,15 +2,9 @@ @REM change to the filepath cd %~dp0 -echo change to path: %cd% -set aerialpython=%cd%/../../../env/aerial_deploy/python.exe -set envsetting=%cd%/env/SettingEnv.bat - -@REM Setting the env -if not exist %aerialpython% ( - call %envsetting% -) +@REM add vitrual env python to the path +path "%~dp0/../../../../.env/Scripts/";%path% start AutoGetUDPtest.bat start AutoSendUDPtest.bat -- Gitblit v1.9.1