bug: uninstall failed when `pwsh.exe` installed by scoop
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- powershell
- 領域
- cli
調査の方向性
README.md を読み、参照されている PR #74 を確認して、既存の根本的な修正と Scoop shim の動作を理解してください。最小限の解決策では、Scoop でインストールした pwsh.exe ではなく Microsoft の pwsh.exe を使用するようユーザーに明確に伝える必要があります。その文言が報告されたアンインストールの失敗に対応していることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Details:
#143
The root cause is:
- The shim executable generated by Scoop is not the actual pwsh.
- It must first parse the target program, determine whether it's GUI or console, and then forward the arguments.
- In certain environments, the parsing fails and outputs:
Shim: Could not determine if target is a GUI app. Assuming console. - It returns a non-zero exit code, which the Coreutils uninstaller treats as a fatal error.
Simplest fix it is add a tip in README.md ,let users use microsoft's pwsh.exe rather than other pwsh.exe(e.g. scoop)
To fix this fundamentally, you might want to consider my PR #74.
- 主要言語
- Rust
- スター
- 5.2k
- フォーク
- 107
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/coreutils のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
sleep has 9MB オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
grep not work オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
microsoft/coreutils の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gitbutlerapp/gitbutler#15998 · コメント 1 件 ·
-
bug triage:deciding
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
open-telemetry/otel-arrow#4132 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100