From cb8dc4eac0904c51ceecef07282624869e7a5ac3 Mon Sep 17 00:00:00 2001 From: Joshua McKenzie Date: Thu, 2 Oct 2014 14:28:11 -0500 Subject: [PATCH] Fix stop-server.bat with space in directory name. Patch by Josh McKenzie, reviewed by Philip Thompson for CASSANDRA-8044 --- bin/stop-server.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stop-server.bat b/bin/stop-server.bat index 616c48c639..66a55fd2cb 100644 --- a/bin/stop-server.bat +++ b/bin/stop-server.bat @@ -38,7 +38,7 @@ FOR /F "tokens=2 delims= " %%A IN ('TASKLIST /FI ^"WINDOWTITLE eq %rand%^" /NH') REM Start with /B -> the control+c event we generate in stop-server.ps1 percolates REM up and hits this external batch file if we call powershell directly. -start /B powershell /file %CASSANDRA_HOME%/bin/stop-server.ps1 -batchpid %PID% %* +start /B powershell /file "%CASSANDRA_HOME%/bin/stop-server.ps1" -batchpid %PID% %* goto finally REM -----------------------------------------------------------------------------