Also, some important point to keep in mind:
You must set
UseShellExecute to
false if you want to set
RedirectStandardInput,RedirectStandardOutput,RedirectStandardError to
true. Also refer to the article for the better understanding of the situation:
http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardoutput.aspx
http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandarderror.aspx
http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardinput.aspx
Thank you
Anil