diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 91e1335..b510040 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -18,7 +18,7 @@ jobs: - name: cp run: copy ./ruoyi-modules/Property/target/Property.jar C:\devtool\server - name: kill - run: for /f "tokens=5" %a in ('netstat -ano ^| findstr ":10001" ^| findstr "LISTENING"') do @taskkill /F /PID %a >nul 2>nul + run: cmd /c for /f "tokens=5" %a in ('netstat -ano ^| findstr ":10001" ^| findstr "LISTENING"') do @taskkill /F /PID %a >nul 2>nul - name: run run: java -jar C:\devtool\server\Property.jar