Dawid
❔ (WPF App) Show terminal window with all output, but also read it with code and catch errors.
Hi, I don't know how to show all the output in terminal window when
RedirectStandardOutput
and RedirectStandardError
are enabled, so temporarily I hide it as it doesn't have any output anyway but is there a way for it to work? Below is my code. When showConsoleWindow
is true, I want all output to be shown by terminal window and to be read by program to handle errors etc. (It's not the full code because discord doesn't allow that big message, but I think everything which is needed to understand my issue is here)
3 replies