// GET: /Action/Launch public ActionResult Launch( string name, string args, string title, string detach) { Security.ClearSavedProfile(); if (String.IsNullOrEmpty(Running.RunningProgram)) { DesktopClient.SendSpecialkey("ClearDesktop"); } if (!string.IsNullOrEmpty(name)) { if (!string.IsNullOrEmpty(args)) { args = HttpUtility.UrlDecode(args); } if (!string.IsNullOrEmpty(detach)) { Running.LaunchNewProgram(name, args); } else { Running.LaunchProgram(name, args); } } return(Content("OK")); }