Hi all.
A win gui has to run a console (cmd) app, desirably the cmd window is
hidden, which I will do by placing outside the view area.
The GUI must be able to parse the output from cmd and do various things
like show a progress meter etc. It should also be able to gracefully
close the cmd window if it hangs or user needs the thread to abort.
Would I be correct in assuming the cmd should be started in a thread
with async coms?
MethodInvoker with BeginInvoke?
Appreciate any pointers to articles on this subject (google search
reveals few).
Thank you.
A win gui has to run a console (cmd) app, desirably the cmd window is
hidden, which I will do by placing outside the view area.
The GUI must be able to parse the output from cmd and do various things
like show a progress meter etc. It should also be able to gracefully
close the cmd window if it hangs or user needs the thread to abort.
Would I be correct in assuming the cmd should be started in a thread
with async coms?
MethodInvoker with BeginInvoke?
Appreciate any pointers to articles on this subject (google search
reveals few).
Thank you.
Comment