Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow path-like objects in program arguments in Windows #78880

Closed
guoci mannequin opened this issue Sep 15, 2018 · 2 comments
Closed

allow path-like objects in program arguments in Windows #78880

guoci mannequin opened this issue Sep 15, 2018 · 2 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes stdlib Python modules in the Lib dir

Comments

@guoci
Copy link
Mannequin

guoci mannequin commented Sep 15, 2018

BPO 34699
Nosy @serhiy-storchaka, @guoci
PRs
  • bpo-34699: allow path-like objects in program arguments in Windows #9336
  • Superseder
  • bpo-31961: subprocess._execute_child doesn't accept a single PathLike argument for args
  • 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 = <Date 2018-11-09.08:07:29.337>
    created_at = <Date 2018-09-15.19:20:16.524>
    labels = ['3.8', '3.7', 'library']
    title = 'allow path-like objects in program arguments in Windows'
    updated_at = <Date 2018-11-09.08:07:29.337>
    user = 'https://github.com/guoci'

    bugs.python.org fields:

    activity = <Date 2018-11-09.08:07:29.337>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-09.08:07:29.337>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2018-09-15.19:20:16.524>
    creator = 'guoci'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34699
    keywords = ['patch']
    message_count = 2.0
    messages = ['325454', '325458']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'guoci']
    pr_nums = ['9336']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '31961'
    type = None
    url = 'https://bugs.python.org/issue34699'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    @guoci
    Copy link
    Mannequin Author

    guoci mannequin commented Sep 15, 2018

    Currently, the subprocess.Popen function allows for path-like objects in the argument list for POSIX but not in Windows.
    This PR makes Windows' subprocess.Popen accept path-like objects in the argument list.

    @guoci guoci mannequin added 3.7 (EOL) end of life 3.8 only security fixes stdlib Python modules in the Lib dir labels Sep 15, 2018
    @guoci guoci mannequin changed the title allows path-like objects in program arguments in Windows allow path-like objects in program arguments in Windows Sep 15, 2018
    @serhiy-storchaka
    Copy link
    Member

    This looks like a duplicate of bpo-31961.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant