I wrote this little script:
response=$(process ...) | zenity --progress --pulsate
echo $response
I want read the response of the process, whatever it is, and show a pulsating progress bar in the meanwhile. The problem is that I don't read any response at the end. I think because all the output from the previous process is sent to zenity.
$response
and then pipe this assignment to zenity.