Message343729
> 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. |
|
Date |
User |
Action |
Args |
2019-05-28 04:38:16 | lilydjwg | set | recipients:
+ lilydjwg, asvetlov, yselivanov |
2019-05-28 04:38:16 | lilydjwg | set | messageid: <1559018296.22.0.867935796056.issue35246@roundup.psfhosted.org> |
2019-05-28 04:38:16 | lilydjwg | link | issue35246 messages |
2019-05-28 04:38:16 | lilydjwg | create | |
|