[issue41753] subprocess.run on windows does not convert path to string
Kaushik G
report at bugs.python.org
Wed Sep 9 14:12:26 EDT 2020
Kaushik G <kaushik.ghose at gmail.com> added the comment:
Thank you for your response.
There are two concerns I have here.
1. Python's promise of being straightforward. In MOST cases pathlib.Path objects do the right thing, casting to a string such that pathlib.Path is a drop in replacement. This exception is unexpected.
2. Cross platform consistency. Looks like this works on macOS and Linux. Why should it fail on Windows?
Thanks!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41753>
_______________________________________
More information about the Python-bugs-list
mailing list