Try the solution without running in background and checking zenity is still working.
It seems echo command exits the loop when application reading the pipe is closed.
(while true; do echo `tail percentage_file` sleep 3; done) | zenity --progress
Trick with echo resolves cancel button support. Please confirm it works for you.
brgds rumi
Try the solution without running in background and checking zenity is still working.
It seems echo command exits the loop when application reading the pipe is closed.
(while true; do
echo `tail percentage_file`
sleep 3;
done) | zenity --progress
Trick with echo resolves cancel button support.
Please confirm it works for you.
brgds
rumi