New submission from Kyle Altendorf <s...@fstab.net>: PS C:\Users\FSTAB\Desktop\g\20\grid-tied> py -3.6 -c "import os, pathlib, subprocess; subprocess.run([pathlib.Path()])" Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Program Files\Python36\lib\subprocess.py", line 403, in run with Popen(*popenargs, **kwargs) as process: File "C:\Program Files\Python36\lib\subprocess.py", line 707, in __init__ restore_signals, start_new_session) File "C:\Program Files\Python36\lib\subprocess.py", line 964, in _execute_child args = list2cmdline(args) File "C:\Program Files\Python36\lib\subprocess.py", line 461, in list2cmdline needquote = (" " in arg) or ("\t" in arg) or not arg TypeError: argument of type 'WindowsPath' is not iterable
PR to follow soon. ---------- messages: 317408 nosy: altendky priority: normal severity: normal status: open title: subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33617> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com