摘要:
Process类有一个StartInfo属性,这个是ProcessStartInfo类.Process p = new Process();p.StartInfo.FileName = "cmd.exe"; //设定程序名p.StartInfo.UseShellExecute = false; //关闭Shell的使用p.StartInfo.RedirectStandardInput = true; //重定向标准输入p.StartInfo.RedirectStandardOutput = true; //重定向标准输出p.StartInfo.RedirectStandar 阅读全文