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

Patch by Josh McKenzie, reviewed by Philip Thompson for CASSANDRA-8044
This commit is contained in:
Joshua McKenzie 2014-10-02 14:28:11 -05:00
parent c4c56fa665
commit cb8dc4eac0
1 changed files with 1 additions and 1 deletions

View File

@ -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 -----------------------------------------------------------------------------