[fpc-devel] Changes to TProcess

Michael Van Canneyt michael at freepascal.org
Fri Jan 5 10:07:31 CET 2024



On Thu, 4 Jan 2024, Michalis Kamburelis via fpc-devel wrote:

> Michael Van Canneyt wrote:
>> Needless to say, the component remains backwards compatible.
>>
>> There is now a testsuite for the TProcess command, so everything was tested.
>> but nothing beats testing in the wild, so I would appreciate it if people
>> could test it and provide feedback.
>
> Great additions -- making it easier to use pipes is important, and
> it's very natural to be able to connect with pipes a few TProcess
> instances.
>
> I tested the changes with Castle Game Engine (not using new features
> yet, just tested it is backwards-compatible for us), it works great.
> We use TProcess in our build tool and editor (editor runs build tool,
> build tool can run FPC and other programs).

Thanks for the feedback.

There were some fixes yesterday, but relevant only for "ancient" 
platforms that do not have proper pipe support, I guess that is not your
case.

The FPC buildchain also uses TProcess, so we'd notice serious shortcomings
quite quickly :-)

Michael.


More information about the fpc-devel mailing list