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

-- 
zenity --progress cancel button doesn't return a value
https://bugs.launchpad.net/bugs/220656
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to