Commit 839986ce authored by Łukasz Nowak's avatar Łukasz Nowak

- flush output before replacing process


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44221 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 17384cb5
import os
import subprocess
import time
import sys
def runMysql(args):
......@@ -28,6 +29,8 @@ def runMysql(args):
else:
print "MySQL already initialised"
print "Starting %r" % mysqld_wrapper_list[0]
sys.stdout.flush()
sys.stderr.flush()
os.execl(mysqld_wrapper_list[0], *mysqld_wrapper_list)
......
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