LaunchyQt icon indicating copy to clipboard operation
LaunchyQt copied to clipboard

Shortcut starts only the exe and doesn't pass the variable to the exe when started

Open cnoork opened this issue 6 years ago • 2 comments

Hi, I have shortcuts for putty where I add the host to connect and template to use behind the exe. When I start the shortcut directly I get what I want but when I start it trough LaunchyQt it will not use the variables behind the exe. Is there a solution for or is this even a bug?

cnoork avatar Jan 29 '20 14:01 cnoork

Hi Chris, LaunchyQt only parses the exe in shortcuts for now, and I am glad to tag this issue as a reasonable feature request.

Could you give me a detailed screenshot of your putty shorcut(just like the image blow), I wonder where are the variables stored in the shortcut? shortcut

Solutions(Alternatives): Runner plugin is shipped with LaunchyQt, try to put arguments in the table(checkout the image below), and LaunchyQt would start program with args. runner

samsonwang avatar Jan 30 '20 01:01 samsonwang

I found where it is going wrong. When there is a space in the path/exe it will be placed between quotes. When I move putty.exe to a location without spaces it is working with all parameters behind it. So for now I have my workaround but is not ideal when putty is updated.

image

cnoork avatar Jan 30 '20 20:01 cnoork