Open Pimmetje opened 8 years ago
As I've submitted today two PR for this project, I looked at your problem.
It seems to be a bug in putty and not in the plugin. I've created two profiles, one names "xx" and the other named "a b"
I've successfully launched the corresponding sessions by typing outside of the plugin the following command lines:
I've unsuccessfully launched the corresponding sessions by typing outside of the plugin the following command lines:
I tried tricky things with backslach and stuff and never succeeded to start the session "a b" using command line. I suggest you to report to putty or the replace all spaces by underscores.
And of course, the plugin is starting the lines:
which is what I believe to be the correct way to act.
I have the same issue.
But I cannot reproduce your results, @gissehel .
This is working from PowerShell: putty -load "rudi.example.com (Syslog)"
But in Wox the entry looks like this:
And therefore the plugin is starting putty -load "rudi.example.com%20(Syslog)"
, I guess.
And the Session is not started, but the Putty main screen.
I've tried again the same tests, in a VM with a fresh install of putty (latest version).
It look like it's fixed in putty.
The problem you're having with %20 can be fixed in wox.plugin.putty by replacing "%20" by " " (or better, by unescaping the string as it look "web-escaped"). I'll tried to look at this when I have time.
Currently i am unable to launch saved sessions that have spaces in the name.