[fpc-devel] TProcess and arguments with quotes

Martin lazarus at mfriebe.de
Wed Sep 5 11:47:26 CEST 2012

On 05/09/2012 10:38, Martin wrote:
> 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?

However the reason
On 05/09/2012 10:00, Marco van de Voort wrote:
> The reason why tprocess changed to a list is to avoid the need to 
> concatenate arguments (and thus split them again). So in time it is 
> urgently recommended to follow that.

does not explain the lack of a working command line property. For code 
that has already individual params, the new Parameters[] property could 
live together with a fully implemented commandline.

Assuming, that there are many apps that have a single string, IMHO it 
would be a good idea to add this functionality in fpc.

More information about the fpc-devel mailing list