Revert "Use sleep instead of ping."

This reverts commit 3f1064b22d.
This commit is contained in:
zlsun
2014-06-30 22:38:51 +08:00
parent 3bbe54bb71
commit 132d5ec8cc

View File

@@ -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";