microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.06k stars 28.8k forks source link

Unable to run any Taks of type 'process' or 'shell' #230003

Open DasBossGit opened 5 days ago

DasBossGit commented 5 days ago

Type: Bug

When I define a Task (does not matter if Workspace or User Task) that are of the 'type' 'process' or 'shell', even as simple as the examples in the VSCode Manual, I cannot start them.

The error for for either is "Cannot read properties of undefined (reading 'shell')" or 'process' respectively.

The Problem persists after a reinstall and a completly clean profile w/o any extensions.

The following Task should run without any issues, but I get the same exact error { "label": "test", "type": "shell", "command": "cmd.exe" }

VS Code version: Code - Insiders 1.94.0-insider (3d6f6d2df349a34d5687126285379604ac9f02df, 2024-09-27T04:34:17.411Z) OS version: Windows_NT x64 10.0.27695 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i9-12900K (24 x 3187)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|127.79GB (92.95GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions: none
meganrogge commented 2 days ago

if you change the command to echo hi does it work? I cannot reproduce the problem.

Image