mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add threading task run for StartProcess
Context menu hides immediately after user selection
This commit is contained in:
parent
9d031c1600
commit
cb78e10a76
1 changed files with 4 additions and 2 deletions
|
|
@ -121,8 +121,10 @@ namespace Wox.Plugin.Program.Programs
|
|||
WorkingDirectory = ParentDirectory,
|
||||
Verb = "runas"
|
||||
};
|
||||
var hide = Main.StartProcess(Process.Start, info);
|
||||
return hide;
|
||||
|
||||
Task.Run(() => Main.StartProcess(Process.Start, info));
|
||||
|
||||
return true;
|
||||
},
|
||||
IcoPath = "Images/cmd.png"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue