求助process类的用法
											private void menuLink_Click(object sender, System.EventArgs e)
  {
    System.Diagnostics.Process p=new System.Diagnostics.Process();
   p.StartInfo.CreateNoWindow=false;
   p.StartInfo.UseShellExecute=false;
   p.StartInfo.RedirectStandardOutput=true;
   p.StartInfo.FileName="d:\\link.exe";
   p.StartInfo.Arguments="d:\\a.asm";
   p.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;
   p.Start();
   p.WaitForExit();
   string s=p.StandardOutput.ReadToEnd();
   textMessage.Text=s;
   textBox.text=s;  
  }
用Process获取link 进程的输出。以上这段代码是 win From的方法,执行后不能获取link 进程的输出。 
但是如果改为主控制台应用程序后能够得到link 进程的输出。
请问这是为什么。请高手指点。

 
											





