我想从另一个应用程序启动一个应用程序;编码
`public static void RunProcess(string AppProcessName)
{
string[] Files = Directory.GetFiles(AppProcessName);
foreach (string file in Files)
{
if (System.IO.Path.GetExtension(file).Equals(".exe"))
{
System.Diagnostics.Process AppProcess = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo Info = new System.Diagnostics.ProcessStartInfo();
Info.FileName = file.Replace('/', '\\');
AppProcess.StartInfo = Info;
AppProcess.Start();
break;
}
}
}`
但我得到一个例外 win32Exception