06.12.2013, 03:40
Piping to a file doesnt require the filelistener.
Just
"Run >myfile.txt mytool"
But then you get the result once i is back, not while it is generated. If this is ok for your purpose, then just read the file.
You can fill the listview async, using
ntui_PostEvent{*listView,#TUILVEV_APPEND,0,*string.b}
This is threadsafe.
But if you read from file you dont need this.
You can set a notification wie dos.libary StartNotify.
Just
"Run >myfile.txt mytool"
But then you get the result once i is back, not while it is generated. If this is ok for your purpose, then just read the file.
You can fill the listview async, using
ntui_PostEvent{*listView,#TUILVEV_APPEND,0,*string.b}
This is threadsafe.
But if you read from file you dont need this.
You can set a notification wie dos.libary StartNotify.