mirror of https://github.com/CIRCL/AIL-framework
fix: [update v1.5] remove unbuffer
parent
fc2c1422ff
commit
499c07a93e
|
@ -250,7 +250,7 @@ def launch_update_version(version, roll_back_commit, current_version_path, is_fo
|
|||
print('{}------------------------------------------------------------------'.format(TERMINAL_YELLOW))
|
||||
print('- Launching Update: {}{}{} -'.format(TERMINAL_BLUE, version, TERMINAL_YELLOW))
|
||||
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:
|
||||
output = process.stdout.readline().decode()
|
||||
if output == '' and process.poll() is not None:
|
||||
|
|
|
@ -20,7 +20,7 @@ bash ${AIL_BIN}/LAUNCH.sh -k &
|
|||
wait
|
||||
|
||||
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"
|
||||
|
||||
echo ""
|
||||
|
|
Loading…
Reference in New Issue