Hi,

use this code, which starts itself, but when you close first started
the second ends as well, what I don't want.

  with TProcess.Create (Application) do begin
    CommandLine := Application.ExeName + ' &';
    Execute;
    Free;
  end;

Thanks.

F.

On Sat, Jul 16, 2011 at 5:49 AM, leledumbo <leledumbo_c...@yahoo.co.id> wrote:
> Try Michael's suggestion. It works, even on other platforms.
>
> --
> View this message in context: 
> http://free-pascal-general.1045716.n5.nabble.com/Linux-How-to-execute-a-program-but-not-to-wait-until-finishes-tp4550251p4593043.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to