From 3f1064b22d4ebb2223a9e82cd0a59c0191e6dc13 Mon Sep 17 00:00:00 2001 From: zlsun Date: Mon, 16 Jun 2014 14:08:48 +0800 Subject: [PATCH] Use sleep instead of ping. --- Wox.Plugin.SystemPlugins/Sys.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wox.Plugin.SystemPlugins/Sys.cs b/Wox.Plugin.SystemPlugins/Sys.cs index c4fdb5561f..ec48fbea7c 100644 --- a/Wox.Plugin.SystemPlugins/Sys.cs +++ b/Wox.Plugin.SystemPlugins/Sys.cs @@ -94,7 +94,7 @@ namespace Wox.Plugin.SystemPlugins Action = (c) => { 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.CreateNoWindow = true; Info.FileName = "cmd.exe";