hide command prompt when using subprocess.Popen with shell=False on Windows

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

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

評価

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

調査の方向性

test.py から始めます。これは subprocess が Windows で追加のウィンドウを開くかどうかを確認するためにアップロードされたスクリプトです。これを使って、shell=False でのコマンド プロンプトの動作を再現してください。変更を加える前に、issue に記載されている既存の PRs とパッチレビューの議論を確認してください。完了とは、該当する subprocess の呼び出しによって Windows で不要なコマンド プロンプトが開かなくなり、その動作が再現可能なテストでカバーされていることを意味します。

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

説明

3.11 easy OS-windows stdlib topic-subprocess type-feature
BPO 30082
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @ohn0, @ammgws
PRs
  • python/cpython#3013
  • python/cpython#19014
  • Files
  • test.py: Script to test if subprocess spawns additional windows
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2017-04-16.17:26:26.499>
    labels = ['easy', 'type-feature', 'library', 'OS-windows', '3.11']
    title = 'hide command prompt when using subprocess.Popen with shell=False on Windows'
    updated_at = <Date 2021-11-09.13:15:20.475>
    user = 'https://bugs.python.org/iMath'
    

    bugs.python.org fields:

    activity = <Date 2021-11-09.13:15:20.475>
    actor = 'swgmma'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2017-04-16.17:26:26.499>
    creator = 'iMath'
    dependencies = []
    files = ['48938']
    hgrepos = []
    issue_num = 30082
    keywords = ['patch', 'easy']
    message_count = 30.0
    messages = ['291760', '291815', '329979', '330091', '362978', '362979', '363046', '363060', '363116', '363143', '364227', '403897', '404094', '404095', '404122', '404261', '404264', '405151', '405166', '405177', '405205', '405269', '405285', '405298', '405302', '405307', '405309', '405362', '405576', '406019']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'iMath', 'ohno', 'swgmma']
    pr_nums = ['3013', '19014']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30082'
    versions = ['Python 3.11']
    

    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

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

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

    はじめの一歩

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

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

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

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