> How many args here? > > nedit "i hate filenames with spaces" > > bash says two, but StringToPPChar() says six. > - this patch should solve the problem: Which FPC version are you using? Afaik this has been reworked in 1.9.3.