Skip to content

subprocess.run throws exception when input and stdin are passed as kwargs #79067

Description

@aecant
mannequin
BPO 34886
Nosy @gpshead, @serhiy-storchaka, @MojoVampire, @miss-islington, @remilapeyre, @aecant
PRs
  • bpo-34886: Fix subprocess.run handling of exclusive arguments #11727
  • bpo-34886: Fix subprocess.run handling of exclusive arguments #11727
  • bpo-34886: Fix subprocess.run handling of exclusive arguments #11727
  • [3.8] bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727) #13916
  • [3.7] bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727) #13917
  • Files
  • subprocess_run_bug.py: Minimal working example
  • 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 = 'https://github.com/gpshead'
    closed_at = <Date 2019-06-11.04:55:33.824>
    created_at = <Date 2018-10-03.18:50:38.319>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'subprocess.run throws exception when input and stdin are passed as kwargs'
    updated_at = <Date 2019-06-11.04:55:33.810>
    user = 'https://github.com/aecant'

    bugs.python.org fields:

    activity = <Date 2019-06-11.04:55:33.810>
    actor = 'gregory.p.smith'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2019-06-11.04:55:33.824>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-10-03.18:50:38.319>
    creator = 'aecant'
    dependencies = []
    files = ['47847']
    hgrepos = []
    issue_num = 34886
    keywords = ['patch', 'patch', 'patch']
    message_count = 11.0
    messages = ['327002', '327003', '327004', '327008', '327009', '327011', '334728', '345042', '345046', '345049', '345179']
    nosy_count = 6.0
    nosy_names = ['gregory.p.smith', 'serhiy.storchaka', 'josh.r', 'miss-islington', 'remi.lapeyre', 'aecant']
    pr_nums = ['11727', '11727', '11727', '13916', '13917']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34886'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions