os.execv executes in background on Windows

Open
#63,323 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start with the os.execv entry point and the referenced testexecvchild.py file, then reproduce the Windows behavior described in the title. Trace the Windows-specific process execution path and add or update coverage so os.execv does not execute in the background; done means the regression test passes on Windows.

Written by the indexing model from the issue text.

Description

3.10 extension-modules OS-windows stdlib type-bug
BPO 19124
Nosy @terryjreedy, @pfmoore, @tjguk, @jwilk, @zware, @eryksun, @zooba
Files
  • testexecvchild.py
  • 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 2013-09-29.10:46:42.091>
    labels = ['extension-modules', 'type-bug', 'library', '3.10', 'OS-windows']
    title = 'os.execv executes in background on Windows'
    updated_at = <Date 2021-03-30.18:18:06.766>
    user = 'https://bugs.python.org/techtonik'
    

    bugs.python.org fields:

    activity = <Date 2021-03-30.18:18:06.766>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules', 'Library (Lib)', 'Windows']
    creation = <Date 2013-09-29.10:46:42.091>
    creator = 'techtonik'
    dependencies = []
    files = ['31905']
    hgrepos = []
    issue_num = 19124
    keywords = []
    message_count = 15.0
    messages = ['198578', '198579', '198599', '198613', '198616', '198627', '198628', '198638', '198974', '316754', '389227', '389737', '389802', '389838', '389843']
    nosy_count = 9.0
    nosy_names = ['terry.reedy', 'paul.moore', 'techtonik', 'tim.golden', 'jwilk', 'docs@python', 'zach.ware', 'eryksun', 'steve.dower']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19124'
    versions = ['Python 3.10']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.