From cf76c943b8f1254ac3ad600f2ded38ff84e38d16 Mon Sep 17 00:00:00 2001 From: junjie020 Date: Mon, 17 Aug 2015 11:22:45 +0800 Subject: [PATCH] Fix ShellExecCmdLine fucntion. Using global::System.Diagnostics.Process.Start to run program without working directory specifying. --- Wox.Infrastructure/WindowsShellRun.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wox.Infrastructure/WindowsShellRun.cs b/Wox.Infrastructure/WindowsShellRun.cs index ba5d2673ab..c0d8f23a8c 100644 --- a/Wox.Infrastructure/WindowsShellRun.cs +++ b/Wox.Infrastructure/WindowsShellRun.cs @@ -146,7 +146,7 @@ namespace Wox.Infrastructure startInfo.WindowStyle = global::System.Diagnostics.ProcessWindowStyle.Normal; startInfo.ErrorDialog = (dwSeclFlags | ShellExecCmdLineFlags.SECL_NO_UI) == 0; startInfo.ErrorDialogParentHandle = hwnd; - + startInfo.WorkingDirectory = startDir; try { global::System.Diagnostics.Process.Start(startInfo);