Skip to content

Fix #357, #1001 - #1004

Merged
Pavel Minaev (int19h) merged 1 commit into
microsoft:mainfrom
int19h:1001
Aug 4, 2022
Merged

Fix #357, #1001#1004
Pavel Minaev (int19h) merged 1 commit into
microsoft:mainfrom
int19h:1001

Conversation

@int19h

Copy link
Copy Markdown
Contributor

Fix #1001: Enable controlling shell expansion via "argsCanBeInterpretedByShell"

Fix #357: "argsExpansion" does not do what it says in VSCode

Treat non-array "args" in debug config as a request to prevent shell argument escaping and allow shell expansion.

Remove "argsExpansion".

…InterpretedByShell"

Fix microsoft#357: "argsExpansion" does not do what it says in VSCode

Treat non-array "args" in debug config as a request to prevent shell argument escaping and allow shell expansion.

Remove "argsExpansion".
@int19h

Copy link
Copy Markdown
Contributor Author

Karthik Nadig (@karthiknadig) I have manually tested this on the most recent VSCode insiders.

The only change on vscode-python side is to update the JSON schema to allow "args" to be single string rather than an array. It would be nice if there's also a way to specify that this isn't supported for "internalConsole", but if not, no big deal - the error message should be clear enough if somebody tries that.

@karthiknadig

Copy link
Copy Markdown
Member

/cc Paula (@paulacamargo25) Can you make the change that Pavel recommended here?

@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2022

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@int19h
Pavel Minaev (int19h) merged commit 4f6638b into microsoft:main Aug 4, 2022
Paula (paulacamargo25) added a commit to microsoft/vscode-python that referenced this pull request Aug 31, 2022
Wes McKinney (wesm) pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
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

Successfully merging this pull request may close these issues.

Enable controlling shell expansion via "argsCanBeInterpretedByShell" "argsExpansion" does not do what it says in VSCode

2 participants