mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
Replace python -u with PYTHONUNBUFFERED=1
(Why is -u needed at all? I’m not sure, but test-run-dev spins forever “Polling run-dev...” without it.) Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
573ec14955
commit
1ea8abe493
@@ -125,7 +125,7 @@ os.setpgrp()
|
||||
cmds = [['./tools/compile-handlebars-templates', 'forever'],
|
||||
['python', 'manage.py', 'rundjango'] +
|
||||
manage_args + ['127.0.0.1:%d' % (django_port,)],
|
||||
['python', '-u', 'manage.py', 'runtornado'] +
|
||||
['env', 'PYTHONUNBUFFERED=1', 'python', 'manage.py', 'runtornado'] +
|
||||
manage_args + ['127.0.0.1:%d' % (tornado_port,)],
|
||||
['./tools/run-dev-queue-processors'] + manage_args,
|
||||
['env', 'PGHOST=127.0.0.1', # Force password authentication using .pgpass
|
||||
|
||||
Reference in New Issue
Block a user