5
Answers

Redirecting a process' output

alobiuc

alobiuc

20y
9k
1
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)