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!
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!