A nice wrapper around System.Diagnostics.Process()

Dec 2, 2007 at 1:26 PM
Basically this is a nice wrapper around this comand:

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = "shutdown";
proc.StartInfo.Arguments = "/s /f /t 0";
proc.Start();
Coordinator
Dec 2, 2007 at 4:55 PM
yep pretty much :P