mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
Add threading task run for StartProcess
Context menu hides immediately after user selection
This commit is contained in:
parent
9d031c1600
commit
cb78e10a76
@ -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 New Issue
Block a user