@echo off
cd /d "%~dp0"
powershell -NoProfile -Command "$exe = (Join-Path (Get-Location) 'runtime\node.exe'); Get-CimInstance Win32_Process -Filter 'Name = ''node.exe''' | Where-Object { $_.ExecutablePath -eq $exe -and $_.CommandLine -like '*server.cjs*' } | ForEach-Object { Stop-Process -Id $_.ProcessId }"
