[Lazarus] RE : TProcess-problem (solved)
lazarus1 at de-brouwerij.be
Tue Jul 10 09:46:33 CEST 2012
On 10-07-12 08:50, Ludo Brands wrote:
>> That's under Windows, using Lazarus 0.9.30.4.
> What is the fpc version? Tprocess is part of fpc. There have been some
> changes recently in trunk because of parameter quoting problems. Can you
> give an example of the executable and parameters that fail?
I'm using fpc 2.6.0. I prefer using the stable releases.
My older version used "commandline" and that does work. This is my
pk2cmd.CommandLine:=PicKitFile+' /B'+ExtractFilePath(PicKitFile)+' /P
/F'+PICFile+' /E /M /Y /J /R';
So I tried to "shortcut" to the new method :
Parameter:="rest of commandline"
That does not work. I have to add every parameter on its own. Then it works.
More information about the Lazarus