You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
allow path-like objects in program arguments in Windows #78880
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=Noneclosed_at=<Date2018-11-09.08:07:29.337>created_at=<Date2018-09-15.19:20:16.524>labels= ['3.8', '3.7', 'library']
title='allow path-like objects in program arguments in Windows'updated_at=<Date2018-11-09.08:07:29.337>user='https://github.com/guoci'
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.
changed the title [-]allows path-like objects in program arguments in Windows[/-][+]allow path-like objects in program arguments in Windows[/+]on Sep 15, 2018
Activity
guoci commentedon Sep 15, 2018
Currently, the
subprocess.Popenfunction allows for path-like objects in the argument list for POSIX but not in Windows.This PR makes Windows'
subprocess.Popenaccept path-like objects in the argument list.[-]allows path-like objects in program arguments in Windows[/-][+]allow path-like objects in program arguments in Windows[/+]serhiy-storchaka commentedon Sep 15, 2018
This looks like a duplicate of bpo-31961.