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

Offen
#74,268 32 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Beginne mit test.py, dem hochgeladenen Skript zur Überprüfung, ob subprocess unter Windows zusätzliche Fenster öffnet; verwende es, um das Verhalten der Eingabeaufforderung mit shell=False zu reproduzieren. Prüfe die im Issue aufgeführten bestehenden PRs und die Diskussion zur Patch-Überprüfung, bevor du Änderungen vornimmst. Als erledigt gilt, dass der relevante subprocess-Aufruf unter Windows keine unerwünschte Eingabeaufforderung mehr öffnet und das Verhalten durch einen reproduzierbaren Test abgedeckt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.