On Fri, September 9, 2011 13:40, Marco van de Voort wrote:
> In our previous episode, michael.vancann...@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.

Yes, the executing binary can do a lot, but the trouble is that it doesn't
expect that it should need to do that (and thus it probably doesn't do it)
since the Unix shell would probably strip these quotes _if_ the command is
started from shell. That is probably the whole reason why it fails for the
original poster right now.

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to