alobiuc

alobiuc

  • NA
  • 197
  • 0

Redirecting a process' output

Dec 5 2004 9:18 AM
Why can't I intercept a process output using Process.StandardOutput when the process is already running? The Process.StartInfo.UseShellExecute and Process.StartInfo.RedirectStandardOutput props are set as they should (false and, respectively true). I keep getting an error: "Process standard output has not been redirected".

Answers (5)