[Lazarus] Fonts Advise between Windows & Linux
Lee Jenkins
lee at datatrakpos.com
Sat Apr 12 16:11:57 CEST 2008
On Fri, 11 Apr 2008, Graeme Geldenhuys wrote:
> Michael Van Canneyt wrote:
> >
> > ExecuteProcess(ParamStr(0),options);
>
> That's not going to work, because ExecuteProcess waits for the process
> to complete before it returns. I forgot Lazarus has a File|Restart
> option, so I'll have a look to see what they did.
Something like:
With Tprocess.Create(Nil) do
try
CmdLine:=ParamStr(0)+'all others';
OPtions:=[];
Execute;
finally
Free;
end;
Michael.
>
>
> Regards,
> - Graeme -
>
>
> _______________________________________________________
> fpGUI - a cross-platform GUI toolkit using Free Pascal
> http://opensoft.homeip.net/fpgui/
>
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list