title: Can't get output from console process
body: <p>This code works well with ipconfig.exe, but i get nothing with my target app.</p>
  
  <pre><code>Process p = new Process();
  p.StartInfo.RedirectStandardError = true;
  p.StartInfo.RedirectStandardOutput = true;
  p.StartInfo.RedirectStandardInput = true;
  p.StartInfo.UseShellExecute = false;
  p.StartInfo.CreateNoWindow = true;
  p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
  p.StartInfo.FileName = "miner.exe";
  p.StartInfo.Arguments = command;
  p.EnableRaisingEvents = true;
  
  p.OutputDataReceived += OutputDataReceived;
  p.ErrorDataReceived += ErrorDataReceived;
  
  p.Start();
  p.BeginOutputReadLine();
  p.StandardInput.Close();
  </code></pre>
  
  <p>Can anybody tell what may be wrong and what can i do? Target app is written in c++ and i think uses printf for output. On forum i saw guy saying that he can't get this app work with pipes in linux.</p>