Use sleep instead of ping.

This commit is contained in:
zlsun
2014-06-16 14:08:48 +08:00
parent 6fdbc9cdfa
commit 3f1064b22d

View File

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