This may be hard to understand, but I want to get the output of a java application in a console C# app.
When you start a java application with Process.Start in a C# console app, the java application takes control, and all lines are written using System.Out.Println().
I want to start a java application, make it so System.out.println() gets stored in a variable and not printed, and then reprint what the variable is with Console.WriteLine()
Allow me to rephrase. #1 Start java app in c# console app with process.start. #2 Cancel java's attempts to output what it was going to output with System.out.prinln(), and instead store it in a variable/string. #3 reprint that string using Console.WriteLine().
Redirecting standard output does not work for this.
If you are wondering, this is for minecraft bukkit.
RedirectStandardError