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:
parent
3131fb8103
commit
f8f42da338
@ -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='.'):
|
||||||
|
Loading…
Reference in New Issue
Block a user