[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

Anders Lorentsen report at bugs.python.org
Tue Feb 6 11:10:54 EST 2018


Anders Lorentsen <phaqui at gmail.com> added the comment:

What do you mean "is a bug", and "the PR would encourage this"? Can't it be fixed?

Are you saying that just because it is a bug now, we should be discouraged from making it work in the way you'd expect it to work?

If `exe` is a path, these two lines of code should do exactly the same, right? It seems unintuitive to me if they produce different results.

run(exe)
run([exe])

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31961>
_______________________________________


More information about the Python-bugs-list mailing list