static CoreCLRRuntimeEnvironment()
 {
     SharedConsole.OverrideConsole();
 }
 public void CaptureOutput(Action action, int expectedLength, out string output, out string errorOutput)
 => SharedConsole.CaptureOutput(action, expectedLength, out output, out errorOutput);