From 132d5ec8ccf77e6c1bf92c2ea3e2f26eedd40212 Mon Sep 17 00:00:00 2001 From: zlsun Date: Mon, 30 Jun 2014 22:38:51 +0800 Subject: [PATCH] Revert "Use sleep instead of ping." This reverts commit 3f1064b22d4ebb2223a9e82cd0a59c0191e6dc13. --- 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 ec48fbea7c..c4fdb5561f 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 sleep 1 && \"" + Application.ExecutablePath + "\""; + Info.Arguments = "/C ping 127.0.0.1 -n 1 && \"" + Application.ExecutablePath + "\""; Info.WindowStyle = ProcessWindowStyle.Hidden; Info.CreateNoWindow = true; Info.FileName = "cmd.exe";