Always start python via shebang lines.

This is preparation for supporting using Python 3 in production.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2016-11-21 19:44:16 -05:00
committed by Tim Abbott
parent 2d6525df04
commit 207cf6302b
55 changed files with 111 additions and 107 deletions

View File

@@ -19,5 +19,5 @@ from zerver.worker.queue_processors import get_active_worker_queues
queues = get_active_worker_queues()
args = sys.argv[1:]
subprocess.Popen(['python', 'manage.py', 'process_queue', '--all'] + args,
subprocess.Popen(['./manage.py', 'process_queue', '--all'] + args,
stderr=subprocess.STDOUT)