Hi Friends
Am getting following error on
StreamReader Output = process.StandardOutput;
the error is
StandardOut has not been redirected or the process hasn't started yet.
Please Can i get Solution ASAP
i've Googled and Added and then only i've Added this Code then also am getting Same Error Message
Regards....,
R.V.Rajagopalan
Error on Process.StandardOutput
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Nilay Vishwakarma4 reputationPosted Apr 8, 2015, 3:07 AM EDT
p.StartInfo.RedirectStandardOutput = false;
p.Start();
string output = p.StandardOutput.ReadToEnd();
p.WaitForExit();
Rajagopalan R VRank #6,801 · 256 reputationPosted Apr 8, 2015, 3:44 AM EDT
Thanks for your reply but i've used that too and then also then same error only coming ( and mentioned below also )
StandardOut has not been redirected or the process hasn't started yet.
Regards.....,
R.V.Rajagopalan