Redirecting a process' output
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".

robin 0186 reputationPosted Dec 5, 2004, 9:16 PM EST
alobiuc168 reputationPosted Dec 5, 2004, 10:23 PM EST
robin 0186 reputationPosted Dec 6, 2004, 2:33 AM EST
alobiuc168 reputationPosted Dec 6, 2004, 8:50 AM EST
robin 0186 reputationPosted Dec 7, 2004, 4:14 AM EST