﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31076	dbshell crashes on Windows and Python < 3.8.	Mariusz Felisiak	zeynel	"`subprocess.run()`'s `args` parameter accepts a path-like object on Windows since Python 3.8 (see [https://docs.python.org/3/library/subprocess.html documentation]), so 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8 broke using `manage.py dbshell` (maybe sth more) on Windows and Python < 3.8.
{{{
  File ""C:\Python37\lib\subprocess.py"", line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File ""C:\Python37\lib\subprocess.py"", line 775, in __init__
    restore_signals, start_new_session)
  File ""C:\Python37\lib\subprocess.py"", line 1119, in _execute_child
    args = list2cmdline(args)
  File ""C:\Python37\lib\subprocess.py"", line 530, in list2cmdline
    needquote = ("" "" in arg) or (""\t"" in arg) or not arg
TypeError: argument of type 'WindowsPath' is not iterable
}}}

Regression in 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8."	Bug	closed	Database layer (models, ORM)	dev	Release blocker	fixed		Jon Dufresne Carlton Gibson	Ready for checkin	1	0	0	0	0	0
