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

Problem in interpretation with a script parameter cmd.exe #224

Closed
csphoenix1 opened this issue Jul 20, 2019 · 4 comments
Closed

Problem in interpretation with a script parameter cmd.exe #224

csphoenix1 opened this issue Jul 20, 2019 · 4 comments

Comments

@csphoenix1
Copy link
Contributor

csphoenix1 commented Jul 20, 2019

Hi !

I've just see a bug:

{
  "name": "Test",
  "param": "--test",
  "type": "list",
  "values": {
    "script": "cmd.exe /c \"echo lol\""
  },
"required": true
},

Response :

Calling the script...

Invalid parameter Label Template Path Dev value: has value lol
] but should be in [lol

Have a good day :)

Version : 1.14.0
OS : Windows
Python : 3.6.14

@bugy
Copy link
Owner

bugy commented Jul 22, 2019

Hi @csphoenix1, thanks for reporting!

PS I'm surprised, that someone is using script server on windows :) Probably I have to put more attention to testing there

@bugy bugy added the bug label Jul 22, 2019
@csphoenix1
Copy link
Contributor Author

Hi @bugy,

Yes I use it ALSO on Windows, and it work very well :) Just this little problem I've just said.

Ciao.

@yosefy
Copy link

yosefy commented Jul 22, 2019 via email

@bugy
Copy link
Owner

bugy commented Aug 18, 2019

Hi @csphoenix1, unfortunately, I was not able to reproduce on win7 and latest dev , but I guess I know the root of the problem, based on your log message.
I made a fix, could you check please if it works for you?

@bugy bugy added this to the 1.15.0 milestone Aug 18, 2019
@bugy bugy closed this as completed Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants