jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [jmeter] FSchumacher commented on a change in pull request #664: Some Cmd scripts don't work with spaces in JMeter path
Date Sat, 24 Apr 2021 14:07:27 GMT

FSchumacher commented on a change in pull request #664:
URL: https://github.com/apache/jmeter/pull/664#discussion_r619663779



##########
File path: bin/heapdump.cmd
##########
@@ -20,5 +20,5 @@ rem   Ask the JMeter client to perform a HeapDump
 
 rem   P1 = command port for JMeter instance (defaults to 4445)
 
-java -cp %~dp0ApacheJMeter.jar org.apache.jmeter.util.ShutdownClient HeapDump %*
+java -cp "%~dp0"ApacheJMeter.jar org.apache.jmeter.util.ShutdownClient HeapDump %*

Review comment:
       In my tests, that didn't work. I had to place the closing quote after `ApacheJMeter.jar`
resulting in
   `java -cp "%~dp0ApacheJMeter.jar" org.apache.util.ShutdownClient HeapDump %*`
   On what version of Windows did you do your tests?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message