[fpc-devel] Problem TProcess (AGAIN)

Michael Van Canneyt michael at freepascal.org
Wed Aug 7 10:32:18 CEST 2013



On Tue, 6 Aug 2013, Andrew Brunner wrote:

> I'm running into a problem with TProcess again.
>
> A while ago TProcess's commandline property was deprecated. Something stopped 
> working so I switched to Executable and Parameters in all my apps.
>
> Now, Parameters don't work and commandline is the only way to get the command 
> to launch properly.

> This is on Linux x64.  Anyone doing work that needs to fix something?
> The only thing I can see in debugging is that ppchar is declared and somehow 
> parameters are assembled as an array of strings... That most likely is the 
> culprit.  Most api would require just 1 null terminated pchar concatenated 
> with spaces.... Please fix....

I use TProcess all the time on linux x64.
It works without so much as a glitch.

Please describe your problem in more detail, the above is useless. 
If possible, give a test program that we can use to reproduce the issue.

Michael.



More information about the fpc-devel mailing list