[fpc-pascal] TProcess vs RunProcess()

Lars noreply at z505.com
Mon Jan 30 00:28:33 CET 2017

On Sun, January 29, 2017 2:41 pm, Marco van de Voort wrote:
> Some likely scenarios (e.g. run and capture stdout) have been prepared in
>  RunCommand, also in unit Process.
> The main motivation for adding these is that 90+% of the TProcess and
> CreateProcess usage in the forums was faulty (specially for larger outputs
>  or when the process also printed a lot on stderr (thanks Pierre!)).

So people were having issues with stderr going crazy (lots of prints to

And this is the problem I have with executeprocess: I want the results
from stderr, and need them, but can't figure out how to access them.. only
stdout is what I retrieve writes from.

More information about the fpc-pascal mailing list