github / github/copilot-cli

Copilot CLI hangs on sudo commands -- does not prompt for password

オープン
#1,082 コメント 3 件 リアクション 12 件 担当者 0 名 GitHub で見る
area:tools
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

When running commands that require `sudo` privileges (e.g., installing packages), Copilot CLI hangs indefinitely and does not prompt the user to enter their password. This makes it impossible to complete tasks that require elevated permissions.

### Affected version

0.0.392 - cefb35e

### Steps to reproduce the behavior

1. Launch Copilot CLI.
2. tell copilot to Run a command that requires `sudo`, such as:
```bash
sudo apt install curl
```

### Expected behavior

Copilot CLI should detect the password prompt and allow the user to input their password interactively.

**Actual Behavior:**
The CLI hangs indefinitely without displaying the password prompt or accepting input.

### Additional context

I'm using GPT5.2 Codex Max
---
- OS: debian 13
- Shell: bash 5.2.37(1)-release
- Terminal: Kitty 0.41.1
- Copilot CLI version: 0.0.392
- Copilot CLI Commit: cefb35e
- Node.js version : v24.12.0

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。