[Lazarus] Problem with TProcessUTF8 and filenames with spaces
zeljko
zeljko at holobit.net
Sat Dec 8 10:30:26 CET 2012
Hi,
TCustomApplication, fpc-2.6.0
./mycmdtool --inputfile=myfile withspace.txt
GetOptionValue('i','inputfile') returns only "myfile"
same thing happens if I try:
./mycmdtool "--inputfile=myfile withspace.txt"
./mycmdtool --inputfile="myfile withspace.txt"
./mycmdtool --inputfile='myfile withspace.txt'
How to fix this (have param value with space) ? Any workarounds if it's bug in
TCustomApplication or whatever ?
This is tested on linux, but I need it on windows too.
zeljko
More information about the Lazarus
mailing list