Common case is like this:
When user type win+s then input jmeter so they can quick luanch it.
Since if we create a shortcut of jmeter.bat into C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
its not gonna work for quick luanch search . might due to .bat suffix.
So i write this code:
And it works:
import subprocess
subprocess.call([r"C:\<your-location>\apache-jmeter-5.6.3\bin\jmeter.bat"])
#### build a distribution file:
# pyinstaller --onefile .\jmeter.py
so this python code generate a binary excutable .exe suffix file to us. we put its shorcut in to Programs folder.
It then will work for quick luanch.
Guys do you think i might should create a PR base on this ?
Use case
Common case is like this: When user type
win+s
then inputjmeter
so they can quick luanch it.Since if we create a shortcut of
jmeter.bat
intoC:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
its not gonna work for quick luanch search . might due to
.bat
suffix.So i write this code: And it works:
so this python code generate a binary excutable .exe suffix file to us. we put its shorcut in to
Programs
folder. It then will work for quick luanch.Guys do you think i might should create a PR base on this ?
Possible solution
No response
Possible workarounds
No response
JMeter Version
5.6
Java Version
No response
OS Version
No response