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

Task's windows command runs in WSL terminal #158403

Open
trailstrider opened this issue Aug 17, 2022 · 2 comments
Open

Task's windows command runs in WSL terminal #158403

trailstrider opened this issue Aug 17, 2022 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug confirmation-pending tasks Task system issues WSL Issue when using WSL
Milestone

Comments

@trailstrider
Copy link

Type: Bug

I have a default WSL terminal, even for windows work; however, I have some tasks that use the "windows":{"command"} as they should be run from a windows command shell.

They instead just run in my default terminal for WSL.

VS Code version: Code 1.70.1 (6d9b74a, 2022-08-10T06:08:33.642Z)
OS version: Windows_NT x64 10.0.22000
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 2304)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.73GB (15.12GB free)
Process Argv --crash-reporter-id fdbb75c5-a6a7-4d87-ac76-5dd2870783da
Screen Reader no
VM 0%
Extensions (51)
Extension Author (truncated) Version
armview ben 0.4.6
doxdocgen csc 1.4.0
docs-yaml doc 0.2.8
go gol 0.35.2
todo-tree Gru 0.0.215
golang-snippets hon 1.2.0
better-cpp-syntax jef 1.15.19
golang-tdd joa 0.0.9
cmake-language-support-vscode jos 0.0.4
AWK lug 0.0.2
polyspace Mat 4.1.1
azure-pipelines ms- 1.208.0
vscode-azureappservice ms- 0.24.3
vscode-azurefunctions ms- 1.7.4
vscode-azureresourcegroups ms- 0.5.5
vscode-azurestaticwebapps ms- 0.11.2
vscode-azurestorage ms- 0.14.2
vscode-azurevirtualmachines ms- 0.6.2
vscode-bicep ms- 0.9.1
vscode-cosmosdb ms- 0.19.2
vscode-docker ms- 1.22.1
vscode-dotnet-runtime ms- 1.5.0
vscode-aks-tools ms- 1.3.3
vscode-kubernetes-tools ms- 1.3.10
python ms- 2022.12.0
vscode-pylance ms- 2022.8.20
sarif-viewer MS- 3.2.2
jupyter ms- 2022.7.1102252217
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.9
remote-containers ms- 0.245.1
remote-ssh ms- 0.84.0
remote-ssh-edit ms- 0.80.0
remote-wsl ms- 0.66.3
vscode-remote-extensionpack ms- 0.21.0
azure-account ms- 0.11.1
azurecli ms- 0.5.0
cmake-tools ms- 1.11.26
cpptools ms- 1.11.5
cpptools-extension-pack ms- 1.2.0
hexeditor ms- 1.9.8
powershell ms- 2022.7.2
vscode-node-azure-pack ms- 1.0.0
vsliveshare ms- 1.0.5690
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
azurerm-vscode-tools msa 0.15.7
vscode-yaml red 1.9.1
shellcheck tim 0.20.0
cmake twx 0.0.17
vscodeintellicode Vis 1.2.22

(1 theme extensions excluded)

@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@trailstrider
Copy link
Author

issue is still happening after upgrade. See screenshot below:
image

@meganrogge meganrogge added tasks Task system issues WSL Issue when using WSL labels Aug 17, 2022
@meganrogge meganrogge added this to the Backlog milestone Aug 17, 2022
@meganrogge meganrogge added bug Issue identified by VS Code Team member as probable bug confirmation-pending labels Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug confirmation-pending tasks Task system issues WSL Issue when using WSL
Projects
None yet
Development

No branches or pull requests

3 participants