Skip to content

command:pickArgs behaves differently as value vs array #635

@karthiknadig

Description

@karthiknadig

In particular,

"args": "${command:pickArgs}",

has a different behaviour with respect to

"args": ["${command:pickArgs}"],

In particular, in one case the full program command path (e.g. C:\Program Files\Python312) does not get escaped, in the other case it gets proper escaping, causing Visual Studio Code to fail because of the spaces.

I don't know if args parameter cannot be specified in both these ways but I think that program path must be quoted the same way in both cases to avoid these kind of issues.

Edit: output is similar to what was already attached in the opening post.

Thanks!

Originally posted by @fgiancane8 in #351

Metadata

Metadata

Assignees

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions