From b65f562c61664763d2222db9919b97f37fcc6128 Mon Sep 17 00:00:00 2001 From: Yeechan Lu Date: Mon, 17 Mar 2014 02:50:15 +0800 Subject: [PATCH] Fix the bug in WindowsShellRun --- Wox.Plugin.System/WindowsShellRun.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Wox.Plugin.System/WindowsShellRun.cs b/Wox.Plugin.System/WindowsShellRun.cs index 8a7dc4937..9438a2f76 100644 --- a/Wox.Plugin.System/WindowsShellRun.cs +++ b/Wox.Plugin.System/WindowsShellRun.cs @@ -184,10 +184,7 @@ namespace Wox.Plugin.System { try { - //not right here. - //e.g. If I input qs which is a shortcut in a folder, and this folder has been added to Path - //After execute this, qs will trun to c:/xxxxxx/xxxxxxxx/qs, and give a file not find error. - //pszOut = Path.GetFullPath(pszCommand); // PathQualifyDef(pszOut, pszDir, 0); + pszOut = Path.GetFullPath(pszCommand); // PathQualifyDef(pszOut, pszDir, 0); } catch { @@ -199,7 +196,7 @@ namespace Wox.Plugin.System return false; } } - + pszOut = pszCommand; return true; }