L
lists04
Hi,
I have a problem with a curl request and running it under popen2.
If I run this request from the command line:
curl -i http://www.yahoo.com/test --stderr errfile
(also tried redirecting stdderr to a file 2>, nothing) the file errfile
is empty indicating no error with the request.
However, when I do something similar in python:[' % Total % Received % Xferd Average Speed Time
Curr.\n', ' Dload Upload Total
Current Left Speed\n', '\r100 981 0 981 0 0 24525
0 --:--:-- 0:00:00 --:--:-- 24525\r100 2484 0 2484 0 0
62100 0 --:--:-- 0:00:00 --:--:-- 1467k\n']
I looked in the man page for curl, it doesnt say that it writes some
bandwidth statistics to stderr. Am I missing something or is this
better directed to some other newsgroup?
TIA
Hari
I have a problem with a curl request and running it under popen2.
If I run this request from the command line:
curl -i http://www.yahoo.com/test --stderr errfile
(also tried redirecting stdderr to a file 2>, nothing) the file errfile
is empty indicating no error with the request.
However, when I do something similar in python:[' % Total % Received % Xferd Average Speed Time
Curr.\n', ' Dload Upload Total
Current Left Speed\n', '\r100 981 0 981 0 0 24525
0 --:--:-- 0:00:00 --:--:-- 24525\r100 2484 0 2484 0 0
62100 0 --:--:-- 0:00:00 --:--:-- 1467k\n']
I looked in the man page for curl, it doesnt say that it writes some
bandwidth statistics to stderr. Am I missing something or is this
better directed to some other newsgroup?
TIA
Hari