[Lazarus] Is it possible to find the location of an EAccessViolation, with Lazarus?

Orbán Árpád orbana at orbel.hu
Sat May 12 18:35:20 CEST 2018


Hi Carlos,

Try add poUsePipes to TProcess.Options:

>  AProcess := TProcess.Create(nil);
>     try
>        AProcess.Executable := '/usr/local/bin/egctl';
>        AProcess.Parameters.Add('Regleta');
>        AProcess.Parameters.Add('off');
>        AProcess.Parameters.Add('off');
>        AProcess.Parameters.Add('off');
>        AProcess.Parameters.Add('off');

         AProcess.Options := AProcess.Options + [poUsePipes];

>
>        AProcess.Execute;

Regards,
   Arpad


More information about the Lazarus mailing list