基线:全量源码首提(D1 版本控制落地,含第一轮优化 B1-B4/A1/A4/缩放修复)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
rem Silent engine stop on app exit (no pause window); same logic as stop-engine.cmd
|
||||
setlocal
|
||||
set "PORT=18789"
|
||||
if exist "%USERPROFILE%\.zcode\chengtao\port.txt" set /p PORT=<"%USERPROFILE%\.zcode\chengtao\port.txt"
|
||||
powershell -NoProfile -Command "Get-NetTCPConnection -LocalPort %PORT% -State Listen -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess -Unique | ForEach-Object { Stop-Process -Id $_ -Force -ErrorAction SilentlyContinue }"
|
||||
Reference in New Issue
Block a user