Hi All,
I need to execute an external program from my application. This
execution is much slower than execute the external application from
command line. I made a simple example (see below) which show 1.7 seconds
for me. Why? (From command line the execution time is 15 milliseconds. I
used Windows 10 64bit.)
var
Start:TDateTime;
OS:String;
begin
Start:=Now;
RunCommandInDir('E:\FPC\3.2.0\bin\i386-win32','fpc.exe',['-h'],OS,[]);
WriteLn(FormatDateTime('nn:ss.zzz',Now-Start));
Gabor
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal