Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launchy sessions with spaces in name #6

Open
Pimmetje opened this issue Jul 27, 2016 · 4 comments
Open

Launchy sessions with spaces in name #6

Pimmetje opened this issue Jul 27, 2016 · 4 comments

Comments

@Pimmetje
Copy link

Currently i am unable to launch saved sessions that have spaces in the name.

@gissehel
Copy link
Contributor

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:

  • putty.exe -load xx
  • putty.exe -load "xx"

I've unsuccessfully launched the corresponding sessions by typing outside of the plugin the following command lines:

  • putty.exe -load a b (it's obviously the wrong line)
  • putty.exe -load "a b" (it should be the correct line, but fails)

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.

@gissehel
Copy link
Contributor

And of course, the plugin is starting the lines:

  • putty.exe -load "xx"
  • putty.exe -load "a b"

which is what I believe to be the correct way to act.

@CWempe
Copy link

CWempe commented Dec 4, 2019

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:

image

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.

@gissehel
Copy link
Contributor

gissehel commented Dec 4, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants