[fpc-pascal] TProcess vs RunProcess()

Michael Van Canneyt michael at freepascal.org
Thu Jan 26 15:28:12 CET 2017



On Thu, 26 Jan 2017, Graeme Geldenhuys wrote:

> Hi,
>
> Whats the differences or pros and cons between using TProcess vs
> RunProcess().

TProcess gives you full access to the process. You can kill it,
pause it, write to stdin, read from stdout.

These things cannot be done with RunProcess. 
That's one-shot and wait till it exits.

Michael.



More information about the fpc-pascal mailing list