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

path separator missing from task args #83457

Closed
tdjastrzebski opened this issue Oct 28, 2019 · 2 comments
Closed

path separator missing from task args #83457

tdjastrzebski opened this issue Oct 28, 2019 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues

Comments

@tdjastrzebski
Copy link

tdjastrzebski commented Oct 28, 2019

VS Code 1.93.2 on Windows 10
I have a simple custom task defined as:

{
    "label": "test task",
    "type": "shell",
    "command": "echo",
    "args": ["${workspaceRoot}/test"],
    "problemMatcher": []
}

Depending on the default shell this echoes:
Windows cmd: H:\blank-task/test
Git Bash: H:blank-task/test
PowerShell: H:\blank-task/test
WSL Bash: H:\blank-task/test

Only Git Bash is clearly incorrect - missing \ after H:, which causes errors when I try to pass current path as some command line argument.

@alexr00
Copy link
Member

alexr00 commented Nov 6, 2019

Duplicate of #84016

@alexr00 alexr00 marked this as a duplicate of #84016 Nov 6, 2019
@alexr00 alexr00 added *duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues labels Nov 6, 2019
@vscodebot
Copy link

vscodebot bot commented Nov 6, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Nov 6, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants