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?
Capture streaming cli output?
Re: Capture streaming cli output?
https://autohotkey.com/board/topic/9690 ... douttovar/
here are 2 version
StdOutToVar that return only once after end and of execute command
and
StdOutStream - watch in live any messages (eg. ping google.pl -t)
here are 2 version
StdOutToVar that return only once after end and of execute command
and
StdOutStream - watch in live any messages (eg. ping google.pl -t)
Re: Capture streaming cli output?
Have you tried the example(s) on the Run page - RunWaitOne - https://autohotkey.com/docs/commands/Run.htm ? You can find more examples if you search the forum. (search for WScript.Shell)
Who is online
Users browsing this forum: Google [Bot], inseption86, xiandai88 and 127 guests