On Thu, 7 Nov 2013, Luca Olivetti wrote:

Al 06/11/13 20:10, En/na Mattias Gaertner ha escrit:

Once the release is out we will have to be more selective about which fixes can 
be merged for further 1.2.x releases.

I didn't test it yet (doing it now), but I suggest a simple fix that
doesn't warrant a bug report

--- C:/Documents and Settings/luca/Configuración
local/Temp/lazhelphtml.pas-revBASE.svn000.tmp.pas       Fri May 24 19:30:06 2013
+++ C:/laz_1_2/lcl/lazhelphtml.pas      Mon Sep 23 14:16:50 2013
@@ -365,10 +365,11 @@

  // run
  try
    BrowserProcess:=TProcessUTF8.Create(nil);
    try
+      BrowserProcess.InheritHandles:=false;
      BrowserProcess.CommandLine:=CommandLine;
      BrowserProcess.Execute;
    finally
      BrowserProcess.Free;
    end;



Unfortunately the default for InheritHandles is true, and while the
above has no effect until this bug in fpc is fixed
http://bugs.freepascal.org/view.php?id=22271

I was not aware of this bugreport. I fixed it. It is probably a copy-paste bug, because the value is set to true in the constructor.

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to