> The shell is smart enough to run those 2 commands in series. If wget > is a GUI app, it runs them in parallell causing gzip to fail. > > > wget -O- http://host/index.html | most > > works kind of; only some of the stdout data gets displayed.
I've searched google and the only way AFAICS to get redirection in a GUI app to work is to create 3 pipes. Then use a thread (or run_with_timeout with infinite timeout) to read/write the console handles to put/get data into/from the parent's I/O handles. I don't fully understand how yet, but it could get messy. Just for the sake of running Wget "in the background", it doesn't seem to be worth. Unless someone else have a better idea. --gv