I'm looking to update the text after command is finished without opening a new yad dialog
(
RESULT1=$(echo "checking")
# run some commands
RESULT2=$(echo " finished")
yad --title "FILE SCAN RESULTS" \
--buttons-layout=spread \
--button="Exit":0 \
--fixed \
--form \
--field "<span color='yellow' font='Times New Roman bold italic 10'>RESULT1 RESULT2</span>:LBL
How can I get it to overwrite the checking with finished text after commands are ran