[fpc-devel] TProcess and arguments with quotes

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Sep 5 12:06:10 CEST 2012



On Wed, 5 Sep 2012, Marco van de Voort wrote:

> In our previous episode, Martin said:
>>> function RunCommand(const cmdline:string;var
>>> outputstring:string):boolean; deprecated;
>>
>> Sorry seen to late, it is deprecated...
>>
>> Seems that FPC is missing the functionality for "commandline" (which is
>> a property that existed for very long). Seen that it is now deprecated
>> probably means there are no plans to implement it?
>
> Nope. Actually issues like this were the reason to deprecate it. There
> barely has been a FPC version without changes to the quoting, and every
> usage could possibly break something else again.
>
> Users also seemed to be unable to handle the difference between api and
> shell, which also caused constant confusion.

Exactly.

Michael.



More information about the fpc-devel mailing list