|
I testing the example included WinFormRExec, i´m trying to use curl but seems impossible receive output correctly. I´m using a simple command with curl: curl -o filesumi.bin http://web.com/file100mb.bin If i use:
It reads first two lines of curl output but the progress (next lines) aren´t show showed in real time, they are showed at once at the end when curl finish. I know that curl writes output using StandardError and not StandardOutput, perhaps it´s the problem. Anyways if you know how to capture in real time curl output will be very usefull for my project. Thanks in advance for your help. |
|
Well... after research a few, seems that exists shell.ReadChar() , and this captures correctly the curl ouput, don´t know exactly why shell.ReadLine() fails. Anyways i think that can solve situation with ReadChar(). Again answering myself :P , perhpaps it can be usefull for other users. Thanks anyways. |
|
The The On the other hand, the Thanks for the reply, now all is clear. Thanks.
(22 Mar '11, 11:53)
Zeokat
|