You can get and read the Output from your command as:
var cCommandEx = System.Diagnostics.Process.Start("cmd.exe", strcmd);
string cRetStandardOut = cCommandEx.StandardOutput.ReadToEnd();
// before the redirect wait to exit and close it
cCommandEx.WaitForExit();
cCommandEx.Close();
and use it for your redirect.
You must also have set RedirectStandardOutput = true,
on the ProcessStartInfo()
of your process, if you do not read anything as it is.