Skip to content

Conversation

@dylanchu
Copy link
Contributor

Changes:

  • Default addtional args is set to empty as "/d /c" is only for cmd.exe
  • For cmd.exe: the "/d" argument should always be the first argument if there are other arguments specified in profiles
  • For cmd.exe: argument "/k" from profiles will be ignored as it conflicts with "/c"
  • For msys2.cmd & msys2_shell.cmd: "-c" will be added automatically if not specified in profiles

This should fix #169821.

@dylanchu
Copy link
Contributor Author

@microsoft-github-policy-service agree

@dylanchu
Copy link
Contributor Author

Looking forward to the approval @anthonykim1 @meganrogge

@anthonykim1
Copy link
Contributor

anthonykim1 commented Jul 8, 2025

Not sure why the CI is failing @dylanchu otherwise LGTM
Looks like something to do with npm error path /mnt/vss/_work/1/s/node_modules/@vscode/ripgrep

Maybe we'd get a better chance if PR comes from upstream branch rather than a fork? It might just be flaky tbh

@anthonykim1 anthonykim1 closed this Jul 9, 2025
@anthonykim1 anthonykim1 reopened this Jul 9, 2025
@anthonykim1 anthonykim1 closed this Jul 9, 2025
@anthonykim1 anthonykim1 reopened this Jul 9, 2025
@anthonykim1 anthonykim1 requested a review from meganrogge July 11, 2025 18:14
@vs-code-engineering vs-code-engineering bot added this to the July 2025 milestone Jul 11, 2025
@anthonykim1 anthonykim1 merged commit c758ad4 into microsoft:main Jul 14, 2025
17 checks passed
anthonykim1 added a commit that referenced this pull request Aug 14, 2025
#261565)

Revert "TerminalTaskSystem: Fix addtion arguments for string command (#251201)"

This reverts commit c758ad4.
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VS Code is still adding /d /c to task commands

3 participants