[Lazarus] Problem with TProcessUTF8 and filenames with spaces
zeljko
zeljko at holobit.net
Mon Dec 10 10:32:03 CET 2012
On Monday 10 of December 2012 09:50:45 Graeme Geldenhuys wrote:
> On 2012-12-08 11:30, Michael Van Canneyt wrote:
> > var
> >
> > ErrorMsg: String;
> >
> > begin
> >
> > writeln(getoptionvalue('f','file'));
> > Terminate;
>
> Using the above as a test app, I get exactly the same results and
> Michael. It works fire here under Linux (OpenSUSE 12.2)
>
> ----8<-------------8<-------------8<-------------8<-------------8<----
> [tmp]$ ./project1
>
> [tmp]$ ./project1 -f "my long file.txt"
> my long file.txt
> [tmp]$ ./project1 -f 'my long file.txt'
> my long file.txt
> [tmp]$ ./project1 --file="my long file.txt"
> my long file.txt
> [tmp]$ ./project1 "--file=my long file.txt"
> my long file.txt
> [tmp]$ ./project1 --file='my long file.txt'
> my long file.txt
> ----8<-------------8<-------------8<-------------8<-------------8<----
Yes, everything is ok, I've used script instead of cmd program directly.
zeljko
More information about the Lazarus
mailing list