Merge pull request #96 from zlsun/master

Fix the problem of sleep command and change the behavior of executing command.
This commit is contained in:
qianlifeng
2014-07-01 09:28:30 +08:00
2 changed files with 5 additions and 1 deletions

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