mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Add threading task run for StartProcess
Context menu hides immediately after user selection
This commit is contained in:
@@ -121,8 +121,10 @@ namespace Wox.Plugin.Program.Programs
|
|||||||
WorkingDirectory = ParentDirectory,
|
WorkingDirectory = ParentDirectory,
|
||||||
Verb = "runas"
|
Verb = "runas"
|
||||||
};
|
};
|
||||||
var hide = Main.StartProcess(Process.Start, info);
|
|
||||||
return hide;
|
Task.Run(() => Main.StartProcess(Process.Start, info));
|
||||||
|
|
||||||
|
return true;
|
||||||
},
|
},
|
||||||
IcoPath = "Images/cmd.png"
|
IcoPath = "Images/cmd.png"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user