mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-13 01:58:22 +00:00
fix: [update v1.5] remove unbuffer
This commit is contained in:
parent
fc2c1422ff
commit
499c07a93e
2 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ def launch_update_version(version, roll_back_commit, current_version_path, is_fo
|
||||||
print('{}------------------------------------------------------------------'.format(TERMINAL_YELLOW))
|
print('{}------------------------------------------------------------------'.format(TERMINAL_YELLOW))
|
||||||
print('- Launching Update: {}{}{} -'.format(TERMINAL_BLUE, version, TERMINAL_YELLOW))
|
print('- Launching Update: {}{}{} -'.format(TERMINAL_BLUE, version, TERMINAL_YELLOW))
|
||||||
print('-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --{}'.format(TERMINAL_DEFAULT))
|
print('-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --{}'.format(TERMINAL_DEFAULT))
|
||||||
process = subprocess.Popen(['unbuffer', 'bash', update_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
process = subprocess.Popen(['bash', update_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
while True:
|
while True:
|
||||||
output = process.stdout.readline().decode()
|
output = process.stdout.readline().decode()
|
||||||
if output == '' and process.poll() is not None:
|
if output == '' and process.poll() is not None:
|
||||||
|
|
|
@ -20,7 +20,7 @@ bash ${AIL_BIN}/LAUNCH.sh -k &
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
#bash -c "bash ${AIL_HOME}/update/bin/Update_Redis.sh"
|
bash -c "bash ${AIL_HOME}/update/bin/Update_Redis.sh"
|
||||||
#bash -c "bash ${AIL_HOME}/update/bin/Update_ARDB.sh"
|
#bash -c "bash ${AIL_HOME}/update/bin/Update_ARDB.sh"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in a new issue