mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 19:19:23 +08:00
Fix ShellExecCmdLine fucntion. Using global::System.Diagnostics.Process.Start to run program without working directory specifying.
This commit is contained in:
parent
2a0e641de7
commit
cf76c943b8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user