Hi everybody, I had the same problem with my bash scripts, so I try to find out some solutions. This is worked for me in Ubuntu Intrepid Ibex
my_app | (if `zenity --progress --auto-close --text='In progress' --title='In progress'`; then echo 'Job completed' else killall my_app exit fi)
Hi everybody, I had the same problem with my bash scripts, so I try to find out some solutions.
This is worked for me in Ubuntu Intrepid Ibex
my_app | (if `zenity --progress --auto-close --text='In progress' --title='In progress'`;
then
echo 'Job completed'
else
killall my_app
exit
fi)