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

未關閉
#74,268 32 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
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 小時
    30 天內合併 PR
    558

    貢獻指南

    開啟貢獻指南

    從這裡開始

    1. 先讀完整個 Issue,再讀專案的貢獻指南。
    2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
    3. Fork 儲存庫,在一個分支上完成修改。
    4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

    python/cpython 的其他 Issue

    查看 python/cpython 的全部 Issue

    相似的 Issue

    更多 Python Issue

    把新 issue 寄到你的電子郵件信箱

    精選適合新手參與的 GitHub issue 摘要。