Capture streaming cli output?
Posted: 07 Jan 2017, 12:46
Hi,
is it possible to read in the output line after line that a cli program creates (e.g. in a command prompt)?
In this particular case I'd like to capture the output of rsync.exe (but not when it's finished but with
every new line that it spits out) and display it in e.g. an edit field in a gui...
I should run under x86 + x64 and it needs to support unicode output.
Does something like this already exists?
is it possible to read in the output line after line that a cli program creates (e.g. in a command prompt)?
In this particular case I'd like to capture the output of rsync.exe (but not when it's finished but with
every new line that it spits out) and display it in e.g. an edit field in a gui...
I should run under x86 + x64 and it needs to support unicode output.
Does something like this already exists?