This commit is contained in:
BoHung Chiu 2021-05-31 17:58:24 +08:00
parent 973c9fae74
commit a82e6bca92
1 changed files with 5 additions and 1 deletions

View File

@ -157,7 +157,11 @@ namespace :exec_commands do
update_infos_for_exec(data)
end
else
outputs[-1] += data.to_s rescue ""
if outputs.count == 0
outputs.push(data.to_s)
else
outputs[-1] += (data.to_s rescue "")
end
if update
update_thread_infos_for_exec(data,true) if @flag
update_infos_for_exec(data,true)