public static Application Launch(string executable) { var info = new ProcessStartInfo(executable); var process = Process.Start(info); var pid = process.Id; return new Application(pid); }