我用如下代码关闭aspnet_state服务时,没有执行: Process p = new Process();   
p.StartInfo.FileName = "cmd.exe";   
p.StartInfo.UseShellExecute = false;   
p.StartInfo.RedirectStandardInput = true;   
p.StartInfo.RedirectStandardOutput = true;   
p.StartInfo.RedirectStandardError = true;   
p.StartInfo.CreateNoWindow = true;   
p.Start();
p.StandardInput.WriteLine("net stop aspnet_state");
p.StandardInput.WriteLine("exit"); 
p.StandardInput.Close();
string strRst = p.StandardOutput.ReadToEnd();   
if(strRst.IndexOf("成功") != -1 )   
{    
Response.Write("<script language='javascript'>alert('命令成功完成');</script>");   
}  什么原因啊?