[fpc-pascal] Linux - ExecuteProcess versus fpSystem
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Fri Sep 9 13:50:21 CEST 2011
On Fri, 9 Sep 2011, Marco van de Voort wrote:
> In our previous episode, michael.vancanneyt at wisa.be said:
>>
>> You must remove the quotes around 'outputfile.org':
>>
>> Status:=ExecuteProcess('/path/to/oggenc',['-Q','--output=outputfile.org','tempfile.wav']);
>
> While better, this is afaik not required per se, the executing binary can
> strip them also while doing cmdline parsing. It doesn't matter for
> executeprocess.
In general, you can't expect that from the executing binary.
It's safe to assume that most don't do this.
(I've never seen one that does, in fact)
Michael.
More information about the fpc-pascal
mailing list