Repository: cassandra
Updated Branches:
  refs/heads/trunk 75c376db8 -> 9c9279a29


Fix stop-server.bat with space in directory name.

Patch by Josh McKenzie, reviewed by Philip Thompson for CASSANDRA-8044


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cb8dc4ea
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cb8dc4ea
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cb8dc4ea

Branch: refs/heads/trunk
Commit: cb8dc4eac0904c51ceecef07282624869e7a5ac3
Parents: c4c56fa
Author: Joshua McKenzie <[email protected]>
Authored: Thu Oct 2 14:28:11 2014 -0500
Committer: Joshua McKenzie <[email protected]>
Committed: Thu Oct 2 14:28:11 2014 -0500

----------------------------------------------------------------------
 bin/stop-server.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cb8dc4ea/bin/stop-server.bat
----------------------------------------------------------------------
diff --git a/bin/stop-server.bat b/bin/stop-server.bat
index 616c48c..66a55fd 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 
-----------------------------------------------------------------------------

Reply via email to