I have a simple app with some bash command, for example apt update
, and I want to pipe its output to --text
parameter in zenity Progress dialog , i tried some options after googling like :
gksudo apt update | xargs -L1 -I % zenity --progress --text=% --percentage=0 --auto-close --auto-kill
but all i got is blinking window!
So, how can i make the output appearing in zenity window with progress percentage?