diff --git a/Client/Browser_Tools/BrowserJSObject.cs b/Client/Browser_Tools/BrowserJSObject.cs index 59f8df40..4fafdc09 100644 --- a/Client/Browser_Tools/BrowserJSObject.cs +++ b/Client/Browser_Tools/BrowserJSObject.cs @@ -254,7 +254,11 @@ namespace CMS_Client.Browser_Tools if (p.Count() > 0 && p[0].MainWindowHandle != IntPtr.Zero) NcWindow.ForceExtFocus(p[0].MainWindowHandle); else - Process.Start(sft.path, sft.arguments); + { + ProcessStartInfo PS = new ProcessStartInfo(sft.path, sft.arguments); + PS.WorkingDirectory = new FileInfo(sft.path).Directory.FullName; + Process.Start(PS); + } } } @@ -263,7 +267,11 @@ namespace CMS_Client.Browser_Tools { Software sft = Config.ExtSoftwaresConfig.FirstOrDefault(X => X.id == (string)id); if (sft != null) - Process.Start(sft.path, sft.arguments); + { + ProcessStartInfo PS = new ProcessStartInfo(sft.path, sft.arguments); + PS.WorkingDirectory = new FileInfo(sft.path).Directory.FullName; + Process.Start(PS); + } } #endregion PROCESSES_METHODS diff --git a/Libs/CMS_CORE_Library.dll b/Libs/CMS_CORE_Library.dll index 1f68ea67..42f2b085 100644 Binary files a/Libs/CMS_CORE_Library.dll and b/Libs/CMS_CORE_Library.dll differ