Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2013-08

Problem TProcess (AGAIN)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Brunner

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....

Andrew Brunner Aurawin LLC 19309 Stage Line Trail Pflugerville, TX 78660 https://aurawin.com/ Aurawin is a great new way to store, share, and explore all your content featuring our innovative cloud social computing platform.

Reply by email

Michael Van Canneyt
to Andrew Brunner
Andrew Brunner wrote 13 lines
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.

Reply by email