From 32d4521e3fb3a59647d44169ea68ac8952d577e2 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 24 Apr 2016 20:06:10 +0200 Subject: [PATCH] fix, CE could hang if Dscanner output errors --- src/ce_main.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ce_main.pas b/src/ce_main.pas index 809abe8b..8d0a0e4e 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -2232,7 +2232,9 @@ begin lst := TStringList.Create; try prc.Executable:=pth; - prc.Options:= [poUsePipes]; + {$IFDEF WINDOWS} + prc.Options := [poUsePipes, poStderrToOutPut {$IFDEF WINDOWS}, poNewConsole{$ENDIF}]; + {$ENDIF} prc.ShowWindow:= swoHIDE; prc.Parameters.Add(fDoc.fileName); prc.Parameters.Add('-S');