mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #312 from junjie020/master
Specify a working directory when run a program from a process
This commit is contained in:
commit
b7c024d275
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue