mirror of https://github.com/apache/cassandra
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:
parent
c4c56fa665
commit
cb8dc4eac0
|
|
@ -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 -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue