Files
test/start_gripper_demo_02.bat
2026-06-09 14:59:43 +08:00

26 lines
469 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
set "CONDA_ENV=py311"
call conda activate "%CONDA_ENV%"
if errorlevel 1 (
echo Failed to activate conda environment: %CONDA_ENV%
echo Please check that conda is initialized and the environment exists.
pause
exit /b 1
)
python -m gripper_control_02.visualizer %*
set EXIT_CODE=%ERRORLEVEL%
if not "%EXIT_CODE%"=="0" (
echo.
echo Gripper Demo 02 exited with code %EXIT_CODE%.
pause
)
exit /b %EXIT_CODE%