JMeter.bat fails if JMETER_BIN is set and bin folder contains spaces
Open
os: All
P2
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**mm kashiwabara** ([Bug 58415](https://bz.apache.org/bugzilla//show_bug.cgi?id=58415&redirect=false)):
Need quotes around a couple more paths in jmeter.bat (similar to https://github.com/apache/jmeter/issues/1731),
if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe
should be
if ".%JM_LAUNCH%" == "." set JM_LAUNCH=java.exe
and
if .%JMETER_BIN% == . set JMETER_BIN=%~dp0
should be
if ".%JMETER_BIN%" == "." set JMETER_BIN=%~dp0
Wouldn't so much of a problem except that Windows put a space in the middle of the name for the default program folder....
Severity: normal
OS: All
Contributor guide
Assessment
This issue has not been assessed yet.