Merge pull request #14393 from mikedn/float-neg-abs
[platform/upstream/coreclr.git] / eng / kill_tasks.cmd
1 @if not defined _echo @echo off
2 setlocal EnableDelayedExpansion
3
4 :: Check if VBCSCompiler.exe is running
5 tasklist /fi "imagename eq VBCSCompiler.exe" |find ":" > nul
6 :: Compiler is running if errorlevel == 1
7 if errorlevel 1 (
8         echo Stop VBCSCompiler.exe execution.
9         for /f "tokens=2 delims=," %%F in ('tasklist /nh /fi "imagename eq VBCSCompiler.exe" /fo csv') do taskkill /f /PID %%~F
10 )