start.bat
@echo off
title jl-boot(8090)
start javaw -Dfile.encoding=utf-8 -jar ./jar/quality-core-1.0.jar --spring.profiles.active=159
exit
stop.bat
@echo off
setlocal enabledelayedexpansion
set port=8090
for /f "tokens=1-5" %%a in ('netstat -ano ^| find ":%port%"') do (
if "%%e%" == "" (
set pid=%%d
) else (
set pid=%%e
)
echo !pid!
taskkill /f /pid !pid!
)
pause