You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI: runTerminalCommand has no remote/WSL detection #9736
The CLI's runTerminalCommand implementation has no remote environment detection. It always spawns shells directly based on process.platform.
File
extensions/cli/src/tools/runTerminalCommand.ts
Impact
If CLI is invoked from a context where platform detection doesn't match the execution environment (e.g., Windows process targeting WSL), shell spawning will fail.
Note
This may be lower priority since CLI typically runs in the same environment where commands execute. However, for consistency with the VS Code fix (PR #9679), similar detection could be added.
Activity
sestinj commentedon Jan 21, 2026
Related issues: