Commit 22b31ae8 authored by Tom Daley's avatar Tom Daley

Run manage.py with shell

parent a74ddee8
Pipeline #12895 failed with stage
in 9 minutes and 21 seconds
......@@ -58,9 +58,9 @@ def _manage_py(args, cwd=None, stderr=subprocess.STDOUT):
if env['verbose']:
print('Executing manage command: %s' % ' '.join(manage_cmd))
try:
result = subprocess.run(manage_cmd, stdout=PIPE, stderr=PIPE)
result = subprocess.run(manage_cmd, shell=True, stdout=PIPE, stderr=PIPE)
except OSError as e:
print("Failed to execute command: %s: %s" % (manage_cmd, e))
raise e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment