Answer the question
In order to leave comments, you need to log in
How to manage a console application from C# WinForms?
I am writing a GUI for the miner, so that it would be convenient to run it with different options.
It is not very clear how to start the process itself so that:
-the window appeared -it
could be hidden
-the text in the window was displayed as usual
-the text from the window could be parsed in a GUI program (track the hashrate)
honestly googled about Process.Start() and its RedirectStandartOutput. But this is not the case, because the launcher stops until the running process ends and the console window ends up empty, all the output goes by.
Answer the question
In order to leave comments, you need to log in
Write a better service (Service) and manage it through the console.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question