Index: ushellexecute.pas
===================================================================
--- ushellexecute.pas	(Revision 5214)
+++ ushellexecute.pas	(Arbeitskopie)
@@ -483,7 +483,12 @@
       Process:= TProcessUTF8.Create(nil);
       try
         Process.CommandLine:= FormatShell(sCmdLine);
-        Process.Options:= [poNoConsole, poWaitOnExit];
+		//GAILJ
+		//poNoConsole corrupts the redirection into the temporary file!
+        //Process.Options:= [poNoConsole, poWaitOnExit];
+        Process.Options:= [poWaitOnExit];
+		//optional
+		//Process.ShowWindow:=swoHide;
         Process.Execute;
       finally
         Process.Free;
