From a2ac5d600984304db3b01891a11dba361b365dfb Mon Sep 17 00:00:00 2001
From: log
Date: Wed, 24 Jun 2026 10:23:57 +0800
Subject: [PATCH] fix(script): remove parentheses in echo which breaks bat syntax
---
video-claw/video-claw/restart.bat | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/video-claw/video-claw/restart.bat b/video-claw/video-claw/restart.bat
index b015264..6d417d7 100644
--- a/video-claw/video-claw/restart.bat
+++ b/video-claw/video-claw/restart.bat
@@ -4,13 +4,13 @@
REM 查找并终止占用 8000 端口的后端服务
for /f "tokens=5" %%a in ('netstat -aon ^| findstr :8000 ^| findstr LISTENING') do (
- echo 正在关闭后端服务 (PID: %%a)...
+ echo 正在关闭后端服务 PID: %%a ...
taskkill /F /PID %%a 2>nul
)
REM 查找并终止占用 3000 端口的前端服务
for /f "tokens=5" %%a in ('netstat -aon ^| findstr :3000 ^| findstr LISTENING') do (
- echo 正在关闭前端服务 (PID: %%a)...
+ echo 正在关闭前端服务 PID: %%a ...
taskkill /F /PID %%a 2>nul
)
--
Gitblit v1.8.0