mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Use sleep instead of ping.
This commit is contained in:
@@ -94,7 +94,7 @@ namespace Wox.Plugin.SystemPlugins
|
|||||||
Action = (c) =>
|
Action = (c) =>
|
||||||
{
|
{
|
||||||
ProcessStartInfo Info = new ProcessStartInfo();
|
ProcessStartInfo Info = new ProcessStartInfo();
|
||||||
Info.Arguments = "/C ping 127.0.0.1 -n 1 && \"" + Application.ExecutablePath + "\"";
|
Info.Arguments = "/C sleep 1 && \"" + Application.ExecutablePath + "\"";
|
||||||
Info.WindowStyle = ProcessWindowStyle.Hidden;
|
Info.WindowStyle = ProcessWindowStyle.Hidden;
|
||||||
Info.CreateNoWindow = true;
|
Info.CreateNoWindow = true;
|
||||||
Info.FileName = "cmd.exe";
|
Info.FileName = "cmd.exe";
|
||||||
|
|||||||
Reference in New Issue
Block a user