[Lazarus] If TProcess.CommandLine is deprecated...

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Feb 7 09:25:19 CET 2012



On Mon, 6 Feb 2012, Andrew Brunner wrote:

> You can use
>
> *.Parameters.Text:='Parm1 Param2'
> *.Parameters.DelimitedText:='Parm1=1 Param2=2'

Or better yet
Parameters.Add('Parm1');
Parameters.Add('Parm2');

and of course, use Executable to indicate the binary.

All this is documented and explained in:

http://www.freepascal.org/docs-html/fcl/process/tprocess.commandline.html

Michael.

>
>
> 2012/2/6 William Oliveira Ferreira <bdexterholland at gmail.com>:
>> If TProcess.CommandLine is deprecated...
>>
>> ...what should i use instead?
>> ________________________________
>> William de Oliveira Ferreira
>> Bacharel em Sistemas de Informação
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>


More information about the Lazarus mailing list