Thread: Bash, zenity clears the variable
i want have result in variable.
echo returns.code:apt=`sudo apt-get update` echo "$apt"
echo empty returns. why doesn't display? how well?code:apt=`sudo apt-get update | zenity --progress --auto-close` echo "$apt"
man tee
tee stdout zenity , cat stdoutput file on finish
eg
code:sudo apt-get update | tee mylog.log | zenity --progress --auto-close cat mylog.log![]()
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Bash, zenity clears the variable
Ubuntu
Comments
Post a Comment