public bool run() { if (!IsPathExist) { return(false); } DisplaySettings.AdjustDisplay(DisplayInfo, this); ProcessStartInfo start = new ProcessStartInfo(ExecPath); start.CreateNoWindow = false; start.RedirectStandardOutput = true; start.RedirectStandardInput = true; start.UseShellExecute = false; start.WorkingDirectory = new FileInfo(ExecPath).DirectoryName; try { Process p = Process.Start(start); } catch { return(false); } return(true); }