Greetings,

I have a program that loads and executes wget using the following command
line:

wget -i - -O -


and dups wget's stdin, stdout (and stderr) handles so that I can write URLs
to wget's stdin and read the responses from wget's stdout. What I wanted to
do was to write a sequence of URLs to wget's stdin, reading each response
before the next URL is sent. Rather, wget buffers its output so that it
doesn't output anything until I close its stdin. As a result, it seems that I
can only send all of the URLs to wget, close its stdin, and then read all
of the responses.

Is there any wget command line option that will cause wget to output a
response after each URL without waiting for me to close its stdin?

Thanks!
Dan
  • wget input/output using... Dan Lewis via Primary discussion list for GNU Wget

Reply via email to