[fpc-pascal] Linux - ExecuteProcess versus fpSystem

cobines cobines at gmail.com
Sat Sep 17 16:29:25 CEST 2011

2011/9/17 Anton Shepelev <anton.txt at gmail.com>:
> Felipe Monteiro de Carvalho:
>> If  FPC Trunk also does not support this, then I'm
>> sure a patch to improve  StringToPPChar  would  be
>> welcome.
> I have created issue # 0020279.

If this must be like shell quoting then you also need to allow quoting
with backslash, inside single quotes escaping is not allowed and not
mix single and double quotes.

For example:

param\ eter1 'param\"'eter2' param"eter3' "parameter'4"

should do:

1: param eter1
2: param\"eter2 param"eter3
3: parameter'4

There is a good guide here which I used for similar purpose:


More information about the fpc-pascal mailing list