如题:
   现在要做一个从b/s一个按钮调用客户端应用程序的程序。
  本人用过System.Diagnostics.Process类
代码是这样写的。
         System.Diagnostics.Process process = new System.Diagnostics.Process();
        process.StartInfo.FileName = "cmd.exe"
         process.StartInfo.UseShellExecute =false;
        process.StartInfo.RedirectStandardInput = true;
        process.StartInfo.RedirectStandardOutput = true;        process.Start();
        process.StandardInput.WriteLine("notepad");在本机运行时。可以打开记事本。但我把程序发布后。点按钮就打不开记事本了。但是任务管理里面有这个进程了请各位兄弟姐妹帮帮忙