mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
Add cmd file to kill corda jobs on windows
This commit is contained in:
parent
2893271ab4
commit
30d90c50d1
14
buildSrc/win_scripts/kill_corda_procs.cmd
Normal file
14
buildSrc/win_scripts/kill_corda_procs.cmd
Normal file
@ -0,0 +1,14 @@
|
||||
@echo off
|
||||
|
||||
REM Setlocal EnableDelayedExpansion
|
||||
FOR /F "tokens=1,2 delims= " %%G IN ('jps -l') DO (call :sub %%H %%G)
|
||||
goto :eof
|
||||
|
||||
:sub
|
||||
|
||||
IF %1==net.corda.webserver.WebServer taskkill /F /PID %2
|
||||
IF %1==net.corda.node.Corda taskkill /F /PID %2
|
||||
IF %1==corda.jar taskkill /F /PID %2
|
||||
IF %1==corda-webserver.jar taskkill /F /PID %2
|
||||
IF %1==org.gradle.launcher.daemon.bootstrap.GradleDaemon taskkill /F /PID %2
|
||||
goto :eof
|
Loading…
Reference in New Issue
Block a user