diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-01 11:11:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 11:11:07 +0200 |
commit | cfe47b7686df0c4c87270a83d6d7f933323ed7e6 (patch) | |
tree | 1e100b920ae7aa1d6a0160e9d7dd6f537f112980 /tests/version | |
parent | 548dce50cf548e777a0c34b5485a146a0606ae73 (diff) | |
download | django-cfe47b7686df0c4c87270a83d6d7f933323ed7e6.tar.gz |
Fixed #32610 -- Fixed get_git_changeset() on Linux.
shell=True is required on Windows. Unfortunately passing a sequence to
subprocess.run() behaves differently on Linux, i.e. the first item
specifies the command string, and any additional items are treated as
additional arguments to the shell itself.
https://docs.python.org/3.9/library/subprocess.html#subprocess.Popen
https://docs.python.org/3.9/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows
Regression in a44d80f88e22eda24dacef48e368895ebea96635.
Diffstat (limited to 'tests/version')
0 files changed, 0 insertions, 0 deletions