[Bug]: Terminal tool on windows using `cmd.exe` instead of powershell
@aliarain がすでに取り組んでいます。
2026年10月22日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 56/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- powershell, shell
調査の方向性
The report identifies the terminal tool's use of cmd.exe on Windows and requests PowerShell by default, with optional shell selection. Start by locating how the desktop app launches its terminal tool and how it selects a shell on Windows. Done means the tool uses the expected shell and the reproduction command behaves as expected; the issue does not name files or tests.
索引モデルが issue の本文から書いたものです。
説明
GUI version
0.1.56
Operating system
Windows
Reproduction steps
- let AI run this command:
echo "SHELL=$SHELL" - See terminal printing the string literally, including the
"
Expected behavior
Use powershell (and pwsh when possible) for terminal tool. Would be even better if user can choose which one to use (powershell/pwsh/git-bash)
Actual behavior
Terminal tool using cmd.exe
Screenshots, recordings, or sanitized logs
AI report:
## The active shell for `shell_command`: **cmd.exe**
`C:\WINDOWS\system32\cmd.exe`
**Evidence (each probe independently rules the others out):**
| Probe | Result | Meaning |
|---|---|---|
| `echo %COMSPEC%` | `C:\WINDOWS\system32\cmd.exe` | cmd-style `%VAR%` expansion; PowerShell/bash would leave it literal |
| `echo "SHELL=$SHELL"` | printed the string **literally** | no `$VAR` expansion → not bash, not PowerShell |
| `ver` | `Microsoft Windows [version 10.0.26300.9711]` | cmd's built-in banner |
| `&` / `&&` chaining | worked | cmd command separator semantics |
| `powershell` tool parent process | `C:\WINDOWS\system32\cmd.exe` | the harness spawns cmd.exe, which then invokes PowerShell |
## The other three candidates — all present, none active
- **Windows PowerShell 5.1 (Desktop)** — `C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe`, v5.1.26100.9711, CLR 4.0.30319. This is what the dedicated `powershell` tool runs (child of cmd.exe).
- **PowerShell 7 (`pwsh`)** — `C:\Users\XXX\AppData\Local\Microsoft\WindowsApps\pwsh.exe`, reports `Core 7.6.7`. Store app-execution-alias install, on PATH but not the shell in use.
- **Git Bash** — `C:\Program Files\Git\bin\bash.exe` exists (MSYS2/MINGW64, `MINGW64_NT-10.0-26300`, bash 3.6.10), but `C:\Program Files\Git\bin` is **not in PATH**, so `where bash` fails. Callable by absolute path only.
**Bottom line:** the terminal is **cmd.exe**. For richer scripting use the `powershell` tool (5.1 Desktop) or invoke `pwsh` for PowerShell 7.
Safety check
- I removed credentials and private project information from this report.
- 主要言語
- Shell
- スター
- 104
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommandCodeAI/desktop のほかの issue
-
[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controls対応中かも @aliarain が 27 日前に担当しました。 オープンbug p2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
CommandCodeAI/desktop#125 · コメント 1 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
CommandCodeAI/desktop#151 ·
-
[Bug]: 桌面版对话输入框中文输入法(IME)间断性的无法激活,必须先粘贴中文才能恢复対応中かも @aliarain が 4 日前に担当しました。 オープンbug p1
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
CommandCodeAI/desktop#150 · 担当者 1 名 ·
-
[Bug]: Plan review is not using the provided feedback対応中かも @aliarain が 4 日前に担当しました。 オープンbug p1
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CommandCodeAI/desktop#147 · 担当者 1 名 ·
-
[Bug]: Conversation feed stutters and bounces back while streaming (macOS, arm64 desktop)対応中かも @aliarain が 4 日前に担当しました。 オープンp1
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
CommandCodeAI/desktop#146 · コメント 2 件 · リアクション 1 件 · 担当者 1 名 ·
CommandCodeAI/desktop の issue をすべて見る
似ている issue
-
申请gogost/gost白名单オープンallows image
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DaoCloud/public-image-mirror#46267 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
devdotfast/whiteboard#1415 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
"SFrame-internal"オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
bug development fixed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100