Sorry, I just realized I pasted the rough copy... Please ignore my
previous post.


Hi everybody, I experienced the same problem in my bash scripts, and I
tried to find out a workaround. The following bash code worked for me in
Ubuntu Intrepid Ibex:

foo | (if `zenity --progress --auto-close --text='In progress' --title='In 
progress'`;
                 then
                     echo 'Job completed'
                 else
                     killall `basename $0`
                     exit
                 fi)

Hope this helps!

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to