diff --git a/src/ce_dmdwrap.pas b/src/ce_dmdwrap.pas index b84d1ce9..85d0a0eb 100644 --- a/src/ce_dmdwrap.pas +++ b/src/ce_dmdwrap.pas @@ -1238,7 +1238,7 @@ begin aProcess.Executable := fExecutable; aProcess.ShowWindow := fShowWin; aProcess.Options := fOptions; - aProcess.CurrentDirectory := fWorkDir; + aProcess.CurrentDirectory := fSymStringExpander.expand(fWorkDir); aProcess.StartupOptions := aProcess.StartupOptions + [suoUseShowWindow]; end; @@ -1249,7 +1249,7 @@ begin aProcess.Executable := fExecutable; aProcess.ShowWindow := fShowWin; aProcess.Options := fOptions; - aProcess.CurrentDirectory := fWorkDir; + aProcess.CurrentDirectory := fSymStringExpander.expand(fWorkDir); aProcess.StartupOptions := aProcess.StartupOptions + [suoUseShowWindow]; end; @@ -1260,7 +1260,7 @@ begin aProcess.Executable := fExecutable; aProcess.ShowWindow := fShowWin; aProcess.Options := fOptions; - aProcess.CurrentDirectory := fWorkDir; + aProcess.CurrentDirectory := fSymStringExpander.expand(fWorkDir); aProcess.StartupOptions := aProcess.StartupOptions + [suoUseShowWindow]; end;