关于进程的主要三个类
Process
ProcessModule
ProcessThread
直接启动程序
Process.Start(@”C:\Program Files\Modbus Tools\Modbus Slave\mbslave.exe”);
Process.Start(“Iexplore.exe”,“www.baidu.com”);
启动程序前,设置参数
ProcessStartInfo psi = new
ProcessStartInfo(“IExplore.exe”);
psi.WindowStyle = ProcessWindowStyle.Maximized;
psi.Arguments = “www.xudajun.com”;
Process.Start(psi);