consoleProgram not applied correctly for DUB scripts

This commit is contained in:
Basile Burg 2017-11-30 12:05:44 +01:00
parent d6420925f3
commit f59e2f8b6d
1 changed files with 1 additions and 1 deletions

View File

@ -3026,7 +3026,6 @@ begin
fRunProc.ShowWindow := swoHIDE;
fRunProc.OnReadData := @asyncprocOutput;
fRunProc.OnTerminate:= @asyncprocTerminate;
fRunProc.XTermProgram:=consoleProgram;
getprocInputHandler.addProcess(fRunProc);
end
else
@ -3034,6 +3033,7 @@ begin
{$IFNDEF WINDOWS}
fRunProc.Options := fRunProc.Options + [poNewConsole];
{$ENDIF}
fRunProc.XTermProgram:=consoleProgram;
end;
if fRunnablesOptions.compiler <> dmd then
fRunProc.Parameters.add('--compiler=' +