Files
aigc-home/stop.bat
T
happymy 2483c7278f i18n: 将 bat 脚本输出改为中英文双语
setup/start/start-bg/stop 四个 bat 的 echo 改为 English / 中文 对照,GBK+CRLF 不变。
2026-09-12 16:04:46 +08:00

14 lines
580 B
Batchfile

@echo off
chcp 936 >nul
setlocal
set ROOT=%~dp0
echo Stopping Calliope backend and frontend processes / 正在停止 Calliope 后端和前端进程...
powershell -NoProfile -Command "Get-CimInstance Win32_Process | Where-Object { $_.Name -match '^(python|node)(\.exe)?$' -and $_.CommandLine -match 'calliope' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue; Write-Host ('Killed ' + $_.Name + ' PID ' + $_.ProcessId) }"
echo.
echo Done. If leftover windows remain, close them manually / 已停止。若还有残留窗口,可直接关闭对应 cmd 窗口。
echo.
pause