2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Pass PYTHONUNBUFFERED to bench start

This commit is contained in:
Pratik Vyas 2015-04-01 16:55:08 +05:30
parent 3131fb8103
commit f8f42da338

View File

@ -222,6 +222,7 @@ def start():
program = get_process_manager() program = get_process_manager()
if not program: if not program:
raise Exception("No process manager found") raise Exception("No process manager found")
os.environ['PYTHONUNBUFFERED'] = "true"
os.execv(program, [program, 'start']) os.execv(program, [program, 'start'])
def check_cmd(cmd, cwd='.'): def check_cmd(cmd, cwd='.'):