[mapguide-commits] r8533 - trunk/MgDev

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Feb 5 02:33:32 PST 2015


Author: jng
Date: 2015-02-05 02:33:32 -0800 (Thu, 05 Feb 2015)
New Revision: 8533

Modified:
   trunk/MgDev/run_tests.bat
Log:
#2533: Force kill the mgserver and php processes when done

Modified: trunk/MgDev/run_tests.bat
===================================================================
--- trunk/MgDev/run_tests.bat	2015-02-04 15:21:42 UTC (rev 8532)
+++ trunk/MgDev/run_tests.bat	2015-02-05 10:33:32 UTC (rev 8533)
@@ -254,7 +254,7 @@
 if exist "%SERVER_PATH%" (
     echo [test]: Terminating mgserver.exe
     REM We're naturally assuming the only mgserver.exe that is running is the one this script started
-    taskkill /im mgserver.exe
+    taskkill /im /f mgserver.exe
 )
 if "%TEST_SUITE%" == "php" goto quit
 :test_dotnet
@@ -307,7 +307,7 @@
 if exist "%SERVER_PATH%" (
     echo [test]: Terminating mgserver.exe
     REM We're naturally assuming the only mgserver.exe that is running is the one this script started
-    taskkill /im mgserver.exe
+    taskkill /im /f mgserver.exe
 )
 if "%TEST_SUITE%" == "dotnet" goto quit
 :test_java
@@ -346,7 +346,7 @@
 if exist "%SERVER_PATH%" (
     echo [test]: Terminating mgserver.exe
     REM We're naturally assuming the only mgserver.exe that is running is the one this script started
-    taskkill /im mgserver.exe
+    taskkill /im /f mgserver.exe
 )
 if "%TEST_SUITE%" == "all" goto quit
 if "%TEST_SUITE%" == "java" goto quit
@@ -363,7 +363,7 @@
 if "%PHP_WEB_SERVER%" == "1" (
     echo [cleanup]: Terminating PHP web server
     REM We're naturally assuming the only php.exe that is running is the one this script started
-    taskkill /im php.exe
+    taskkill /im /f php.exe
 )
 exit /B 1
 
@@ -404,6 +404,6 @@
 if "%PHP_WEB_SERVER%" == "1" (
     echo [cleanup]: Terminating PHP web server
     REM We're naturally assuming the only php.exe that is running is the one this script started
-    taskkill /im php.exe
+    taskkill /im /f php.exe
 )
 popd
\ No newline at end of file



More information about the mapguide-commits mailing list