lilydjwg <lilyd...@gmail.com> added the comment:

> All we need is `program = os.fspath(program)` in base_events.py 
> subprocess_exec() method.

I don't think so. The arguments could be `pathlib.Path` too.

We can update the `isinstance(arg, (str, bytes))` check so the args pass on to 
`subprocess.Popen`. It will work in the POSIX part but there is an issue 
(issue33617, issue31961) in Windows part: subprocess.list2cmdline doesn't 
accept pathlib.Path.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to