[fpc-devel] Another bug with spaces in fpc (windows)
Marco van de Voort
marcov at stack.nl
Tue Jul 6 15:19:54 CEST 2010
In our previous episode, Michael Van Canneyt said:
> i : integer;
> For I:=1 to ParamCount do
> Writeln(I,' : ',Paramstr(i));
Or better even, sysutils.commandline, since doesn't that iirc reflect what
the binary gets before FPC parses it?
> and test then with
> mytest -o"My Test Project.exe" C:\WINDOWS\TEMP\project1.lpr
> Only then we'll know who does the interpreting of the quotes.
> In case it still differs, this doesn't explain why Marco's example works fine.
> He seems to be using the same executable. Maybe different windows versions
> handle it differently...
Yes, I tried adding paths and other parameters, no difference.
It is W7 here btw.
More information about the fpc-devel