The WSL step needs a real console, so the scripts cannot run hidden or with redirected output

オープン
#196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
powershell
領域
devops

調査の方向性

Start with steps/wsl.ps1 around line 86 and read how the script invokes wsl --install and handles the WSL setup. Compare the proposed non-interactive installation steps with documenting the visible-console requirement; the issue does not choose between these approaches. Done means callers can run the WSL step without a visible console, or the scripts clearly document that requirement.

索引モデルが issue の本文から書いたものです。

説明

steps/wsl.ps1 starts wsl --install without -NoNewWindow because wsl's install bootstrap needs a real console to run against (line 86 on main @ 2ac20c5), and a separate WSL window may pop up. So the scripts can't run hidden or with redirected output (CI, a service, or an app that shows progress itself): a caller has to start the whole run in a visible console window.

Proposal: make the WSL step work without a console (for example wsl --install --no-distribution plus the distro install as separate, non-interactive steps), or document that the scripts need a visible console so callers know up front.

主要言語
PowerShell
スター
3.5k
フォーク
239
平均マージ
6時間 3分
マージ済み PR(30日)
37

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/WindowsDeveloperConfig のほかの issue

microsoft/WindowsDeveloperConfig の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

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

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