title: How can I capture, log and display the console output of any arbitrary process with my own c# app?
body: <p>I want to run on a C# program a specific running file and during it display the output on the screen and also saving it in the file.</p>
  
  <p>I <strong>don't want</strong> to save the output in the file and later display it on screen.</p>
  
  <p>I want them both to happen together.</p>
  
  <p>I know a way to do it by "tee" but I failed each time I tried doing so. </p>
  
  <p>Can anyone give me an example (that works) by using "tee"?</p>