I have the following code snippet to call into command line:
p = new Process(); ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = \"cmd.exe\"; ps
You need to consume the output stream when the standard output has been redirected:
p.Start(); p.StandardOutput.ReadToEnd(); p.WaitForExit();